For the same application webpack produces smaller ...
# opensavvy
r
For the same application webpack produces smaller JS bundle (webpack: 494KB, vite: 520KB). Perhaps some additional configuration of vite is needed?
c
I wonder if webpack got better? When I first started using Vite in ~2022, Vite was ~10% smaller than the Closure Compiler, which was itself ~30% smaller than Webpack
I think by default Rollup keeps comments, maybe that could explain the difference
I'd have to analyze the contents of the bundle, but short-term I'd like to focus on stability