Skip to content

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

Merged
dummdidumm merged 1 commit into
mainfrom
optimize-deps-fix
Jul 10, 2025
Merged

dummdidumm merged 1 commit into
mainfrom
optimize-deps-fix

Conversation

@dummdidumm

@dummdidumm dummdidumm commented Jul 10, 2025 •

Copy link
Copy Markdown
Member

This was an accidental removal in #13971, 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 #5952 (comment)

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 #13976

This was an accidental removal in #13971, 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 #5952 (comment)

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
@changeset-bot

changeset-bot Bot commented Jul 10, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: af1a604

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sveltejs/kit Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dummdidumm
dummdidumm merged commit eb99d67 into main Jul 10, 2025
@dummdidumm
dummdidumm deleted the optimize-deps-fix branch July 10, 2025 11:34
@github-actions github-actions Bot mentioned this pull request Jul 10, 2025
Copilot AI pushed a commit to Stadly/kit that referenced this pull request Mar 6, 2026
This was an accidental removal in sveltejs#13971, 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 sveltejs#5952 (comment)

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2.22.3: issues with redirect

1 participant