Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How many extent build-systems are there now for JS/TS? It's getting insane.


Realistically?

Just Babel, SWC, ESBuild, and TypeScript's own compiler.

I'm not really aware of anything else with serious momentum, or isn't simply built upon one of these projects,

SWC itself if I recall correctly was built to address speed problems with Babel

The other speed bottleneck I've found is postcss, which SWC is also trying to address with their own new CSS parser, which is the CSS parser they extended in Next.js 12, from what I can tell

ESBuild has also grown out of this, but takes a more opinionated direction

This isn't the gulp / grunt -> browserify -> webpack / rollup churn of the past in my opinion. These kinds of tools are much more targeting on being around in the long haul


There's an interesting-looking build tool called Bun. Not sure if it's actually released yet, but the development tweets by the author look very promising:

https://twitter.com/jarredsumner/status/1390084458724741121

> Early benchmark from a new JavaScript bundler. It transpiles JSX files: > - 3x faster than esbuild > - 94x faster than swc > - 197x faster than babel


Rome might join the list, but it's too early to tell




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: