3 ms·
You still need webpack for production build :). So all is good.
by desireco42 6y ago
You still need webpack for production build :). So all is good.
- darekkay 6y agoVite uses Rollup for production builds, which is still much faster than webpack.
- simlevesque 6y agoWhy can't you use esbuild for production builds ?
- RobertKerans 6y agoTree shaking isn't sorted, so can't currently get an bundle optimised to same extent as you do with Webpack/Rollup et al. It'll come, but not quite there yet.
- eliseumds 6y agoCorrect.
- desireco42 6y agoYes you can, my bad/ But some people have webpack configs, so the easiest for them is to keep those and can use Vite for development. Like if you are not doing new project.
- IggleSniggle 6y agoI use esbuild for prod...?