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

11 lines
328 B
TypeScript

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