Svelte

fix: re-add @sveltejs/kit to optimizeDeps.exclude

#13983

Closing issue

Pull request

Merged
D
dummdidumm
Jul 10, 2025, 11:21 AM

This was an accidental removal in , we still need it: Without this SvelteKit will be prebundled on the client, which means we end up with two versions of Redirect etc. Also see

No test because it's only testeable when SvelteKit is resolved as a npm package, Vite seems to do resolving slightly different within a monorepo

Fixes

Info

Merged at Jul 10, 2025, 11:34 AM
Merged by dummdidumm
Assignees None
Reviewers None
Labels None
Milestone None

Pro tip: You can prefix GitHub URLs of issues, PRs or discussions with svcl.dev/ to view them on this page! Also try it on a GitHub release ;)