by ppseafield · 4y ago · 0 comments
The recent conversation was about Vercel benchmarking a tuned Turbopack+SWC vs. a default Vite+Babel, not really an apples to apples comparison. When Vite is configured to use SWC as a compiler, Vite's HMR gets faster; but it's not the default for compatibility reasons.
And yes, Babel can also be made faster if enough effort is dedicated into it. it's not an impossible feat.