4 ms·
Because it's many times faster (~4x faster with small files, ~20x faster with large files), very easy to set up, and tiny (which has a significant impact on CI
by rich_harris 10y ago
Because it's many times faster (~4x faster with small files, ~20x faster with large files), very easy to set up, and tiny (which has a significant impact on CI – it's very quick to install). It also generates leaner code, and doesn't rewrite the parts that don't need to be transpiled, so your style/formatting is preserved. We need to update the docs – it actually supports ES2016 (only one new language feature – the exponentiation operator) and may support JSX in future.
- bcherny 10y agoHow does it compare to the Typescript transpiler? Do you have benchmarks somewhere?
- rich_harris 10y agoNot yet, though I agree that would be worthwhile