Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manualChunks is not working on 2.17.2 #13496

Open
kran6a opened this issue Feb 23, 2025 · 0 comments
Open

manualChunks is not working on 2.17.2 #13496

kran6a opened this issue Feb 23, 2025 · 0 comments

Comments

@kran6a
Copy link

kran6a commented Feb 23, 2025

Describe the bug

Recently I updated @sveltejs/kit from 2.16.1 to 2.17.2 on a website that used manualChunks to reduce the number of generated chunks and group code by concern.

The result is the following build:

Image

Note that named chunks are on the server and hashed chunks on the client.

Reproduction

Run pnpm build and see the generated client chunks on .svelte-kit/output/client/_app/immutable/chunks

https://stackblitz.com/edit/sveltejs-kit-template-default-gbsyrknf?description=The%20default%20SvelteKit%20template,%20generated%20with%20create-svelte&file=package.json,vite.config.js&title=SvelteKit%20Default%20Template

Logs

System Info

Does not matter

Severity

annoyance

Additional Information

No response

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

No branches or pull requests

1 participant