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
{{ message }}
This repository was archived by the owner on Mar 19, 2026. It is now read-only.
Previously, in SvelteKit with Vite + Rollup, we would set manualChunks: () => 'bundle' and this would produce a single JS file after a build. This doesn't currently work with rolldown-vite.
Describe the regression
Previously, in SvelteKit with Vite + Rollup, we would set
manualChunks: () => 'bundle'and this would produce a single JS file after a build. This doesn't currently work withrolldown-vite.Reproduction
https://stackblitz.com/~/github.com/eltigerchino/vitejs-vite-i4qk6uwn?file=README.md
Expected Behavior
Setting
manualChunksand returning the same string every time should produce a single bundle.Actual Behavior
Four JS files are produced.
Steps to Reproduce
Single JS file output Rollup vs Rolldown reproduction
Rollup
manualChunks: () => 'bundleinvite.config.tspnpm ithenpnpm build(this time it's using Rollup)inlineDynamicImports: trueinvite.config.tsthen runpnpm buildmanualChunkssetting invite.config.tsthen runpnpm buildRolldown
npm:rolldown-vite@latestto thepackage.jsonpnpm.overrideskey.manualChunks: () => 'bundleinvite.config.tspnpm ithenpnpm build(this time it's using Rolldown)inlineDynamicImports: trueinvite.config.tsthen runpnpm buildmanualChunkssetting invite.config.tsthen runpnpm buildSystem Info
System: OS: Linux 5.0 undefined CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 20.19.1 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 10.8.2 - /usr/local/bin/npm pnpm: 8.15.6 - /usr/local/bin/pnpm npmPackages: vite: ^7.0.0 => 7.0.0Used Package Manager
pnpm
Logs
No response
Validations