by 0x000000E2 · 5y ago · 0 comments
For what I do, Babel is the slow part. switching babel to esbuild (still with tsc) divided my build times by 10.
But yeah it's slow
Those old iPads and iPhones just won't die... As well as a number of Macbooks that will never go past OS X 10.11.
Babel does have a neat automatic polyfill system typescript doesn't. But both can target real old JS versions. Most JS packages you'll find on NPM are still ES5.
Transpilers are quickly making JS a compiled language where the bytecode format is ES5 :)