Re:Why we switched from Webpack to Vite
by simlevesque on Wednesday April 28, 2021 @06:33PM
(#26975098)
Why can't you use esbuild for production builds ?
[ Parent
| on HN ]
Re:Why we switched from Webpack to Vite
by RobertKerans on Wednesday April 28, 2021 @07:14PM
(#26975432)
Tree 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.
Re:Why we switched from Webpack to Vite
by eliseumds on Thursday April 29, 2021 @10:08AM
(#26981349)
Correct.
Re:Why we switched from Webpack to Vite
by desireco42 on Wednesday April 28, 2021 @11:53PM
(#26977261)
Yes 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.