4 ms·
It's pretty fast with modern tooling. Try vite or swc if you have the time and inclination. vite builds one of my large $DAYJOB projects in ~45 seconds (which i
by 5e92cb50239222b 4y ago
It's pretty fast with modern tooling. Try vite or swc if you have the time and inclination. vite builds one of my large $DAYJOB projects in ~45 seconds (which is insane compared to how webpack performed).
If you don't need vite's extensibility, you can go with 'pure' esbuild and slim down transpilation + minification + bundling to only a few seconds.
https://vitejs.dev https://vitejs.dev
https://github.com/swc-project/swc https://github.com/swc-project/swc
https://github.com/evanw/esbuild https://github.com/evanw/esbuild
- toyg 4y agoWhen JS was born, "building" was F5 in a browser. 45 seconds is an eternity in comparison.
- 5e92cb50239222b 4y agoYou also couldn't use JS of that time to build anything remotely like modern SPAs. Unlike some Silicon Valley unicorns, we're using SPAs only where they fit, to replace legacy desktop applications. (It's boring intranet stuff, but they make a lot of sense there.) I was a skeptic initially, but it grew on me.