UNPKG

vike

Version:

The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.

8 lines (7 loc) 290 B
export { normalizeId }; import { toPosixPath } from '../utils.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); }