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.
Actually, this AI-generated and not Vite-generated graph shows exactly my situation 😛 With this graph shape, Rolldown is automatically splitting what's called "vendor" here into its own chunk, while Rollup was putting it together with "index". There is no reason to split it as far as I can tell.
0 reposts4 likes