I was debugging some chunking regressions in an app I work on when updating from Vite 7 to Vite 8. I got an AI to generate a tool to help figuring out what was wrong, and I uploaded it at nicolo-ribaudo.github.io/vite-compare/ in case it's useful for anybody else.
Post
nicolo-ribaudo.github.ioVite bundle compareCompare two Vite bundle builds side-by-side: chunk diff, per-entry size analysis, module diff, and an interactive chunk/module graph.
Interesting! Did you try using `attachDebugInfo` (which should give insights why certain chunks were created)? rolldown.rs/reference/In...
rolldown.rsRolldown | Rust bundler for JavaScriptFast Rust-based bundler for JavaScript with Rollup-compatible API
github.com[Bug]: Excessive automatic code splitting when importing a module both statically and dynamically · Issue #9269 · rolldown/rolldownReproduction link or steps Consider these two examples: REPL A (working as expected) REPL B (unexpected behavior) They both contain these modules: // app.js import "./shared.js"; console.log("app")...