3 ms·
Vite uses it under the hood and has it running crazy fast.
by andrew_ 4y ago
Vite uses it under the hood and has it running crazy fast.
- Vinnl 4y agoI think Vite only uses it for the production build, no? As far as I know Vite doesn't do bundling (yet) in dev mode.
- silverwind 4y agoVite uses both esbuild and rollup for the prod build. When doing React, it also adds Babel. This chaining of tools is the reason why it's so slow.
- andrew_ 4y ago"so slow." JS-perf world is quite insufferable. We're talking 0.09s vs 0.01s https://mobile.twitter.com/youyuxi/status/1585066162370777091 https://mobile.twitter.com/youyuxi/status/158506616237077709...