UNPKG

vike

Version:

(Replaces Next.js/Nuxt) 🔨 Composable framework to build advanced applications with flexibility and stability.

9 lines (8 loc) • 331 B
export { normalizeId }; import { toPosixPath } from '../../../utils/path.js'; import '../assertEnvVite.js'; // In principle Vite/Rollup should always normalize the `id` in `transform(code, id)` but it seems to not always do it. // https://github.com/vikejs/vike/issues/1935 function normalizeId(id) { return toPosixPath(id); }