When JS was born, "building" was F5 in a browser. 45 seconds is an eternity in comparison.
Re:Why Rust?
by 5e92cb50239222b on Thursday October 20, 2022 @02:34PM
(#33278795)
You 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.
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://github.com/swc-project/swc
https://github.com/evanw/esbuild