swc/crates/swc_bundler/tests/.cache/deno/863a9a8b625e8c5c9bd057af13a2afa7616cc824.ts
2021-11-09 20:42:49 +09:00

11 lines
328 B
TypeScript

// Loaded from https://deno.land/std@0.73.0/path/separator.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/** This module is browser compatible. */
import { isWindows } from "./_constants.ts";
export const SEP = isWindows ? "\\" : "/";
export const SEP_PATTERN = isWindows ? /[\\/]+/ : /\/+/;