vite-plugin-zephyr
Version:
Vite plugin for Zephyr
10 lines (9 loc) • 316 B
JavaScript
import { sep } from "node:path";
function normalizeVitePath(pathname) {
return pathname.replace(/\\/g, '/');
}
function normalizeFilesystemVitePath(pathname) {
return pathname.split(sep).join('/');
}
export { normalizeFilesystemVitePath, normalizeVitePath };
//# sourceMappingURL=normalize-vite-path.mjs.map