mirror of https://github.com/lukechilds/rollup.git
2 changed files with 12 additions and 1 deletions
@ -0,0 +1,6 @@ |
|||
import { sep } from "path"; |
|||
|
|||
export function unixizePath(path) { |
|||
if (sep==="/") return path; |
|||
return path.split(sep).join("/"); |
|||
} |
Loading…
Reference in new issue