"fileURLToPath" is not exported by "__vite-browser-external"
bennymi opened this issue · comments
Ben M. commented
Hi, I'm currently getting this error on a failed build on Vercel for my SvelteKit app:
RollupError: "fileURLToPath" is not exported by "__vite-browser-external", imported by
"node_modules/.pnpm/rehype-pretty-code@0.10.0_shiki@0.14.3/node_modules/rehype-pretty-code/dist/rehype-pretty-code.js".
It seems to come from the test file.
Is there a way to solve this issue? Maybe excluding test files from the npm package?
atomiks commented
This might be fixed in v0.12.0
, can you check?