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

11 lines
327 B
TypeScript

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