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

11 lines
328 B
TypeScript

// Loaded from https://deno.land/std@0.77.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 ? /[\\/]+/ : /\/+/;