News for hackers. Stuff that matters.
Re:Why we switched from Webpack to Vite by amasad on Wednesday April 28, 2021 @03:46PM (#26973302)
I'm sure it's less disk space because it has less deps but the most of the RAM and CPU usage in CRA is Webpack so I'd be surprised if that changed much.
Re:Why we switched from Webpack to Vite by mumphster on Wednesday April 28, 2021 @03:56PM (#26973428)
webpack AND all the extra plugins and preprocessing and postprocessing CRA adds -- its not a small webpack setup by any means and you can get 1s build times with webpack pretty easily without CRA
Re:Why we switched from Webpack to Vite by bavell on Wednesday April 28, 2021 @06:19PM (#26974955)
Agreed, I use webpack for small and medium projects and it's basically instant. I use TS but not the compiler - I tell babel to strip types and use just a few plugins, transforms and loaders.

I'm not in love but it's a core tool in almost all of my projects, personal and professional.

Re:Why we switched from Webpack to Vite by fiddlerwoaroof on Wednesday April 28, 2021 @03:48PM (#26973317)
I’d like to see the numbers: the webpack config CRA eject gives you is a monster.