You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vite provides a resolve.preserveSymlinks option (docs). This used to work until SvelteKit 1.0.0-next.305, but no longer works in 1.0.0-next.306 where it throws a 404 Page Not Found error.
Reproduction
Stackblitz does not support symlinks, hence a link to a GitHub repo.
404
Not found: /docs
Error: Not found: /docs
at resolve (file:///workspace/sveltekit-symlinks/.svelte-kit/runtime/server/index.js:2797:14)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async respond (file:///workspace/sveltekit-symlinks/.svelte-kit/runtime/server/index.js:2690:20)
at async file:///workspace/sveltekit-symlinks/node_modules/@sveltejs/kit/dist/chunks/index.js:295:24
Describe the bug
Vite provides a
resolve.preserveSymlinks
option (docs). This used to work until SvelteKit1.0.0-next.305
, but no longer works in1.0.0-next.306
where it throws a 404 Page Not Found error.Reproduction
Stackblitz does not support symlinks, hence a link to a GitHub repo.
https://github.com/mikenikles/sveltekit-symlinks
Logs
System Info
Severity
blocking an upgrade
Additional Information
Start SvelteKit with
npm run dev
and navigate to http://localhost:3000/docs to see the error.The text was updated successfully, but these errors were encountered: