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.
Also, for some reason (even if the docs say otherwise) Vite 7 was prioritizing the "package.json#module" field in some of my dependencies while Vite 8 prioritizes "package.json#browser", which caused a bunch of different stuff to be loaded.
0 reposts0 likes
No replies yet.