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

11 lines
323 B
TypeScript

// Loaded from https://deno.land/std@0.92.0/path/separator.ts
// Copyright 2018-2021 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 ? /[\\/]+/ : /\/+/;