News for hackers. Stuff that matters.
Re:Rust Is the Future of JavaScript Infrastructure by eatonphil on Thursday November 11, 2021 @03:47PM (#29192942)
> Realistically, all we need is `tsc` and `esbuild`.

esbuild and babel/webpack do basically the same thing. esbuild can also target older versions of JavaScript (just not es5).

Re:Rust Is the Future of JavaScript Infrastructure by keb_ on Thursday November 11, 2021 @03:50PM (#29192988)
Which is great! And it even takes care of JSX/TS transpilation.
Re:Rust Is the Future of JavaScript Infrastructure by eatonphil on Thursday November 11, 2021 @03:53PM (#29193019)
I'm confused about what your point is then since either way you are using some system in between your code and the browser or Node.
Re:Rust Is the Future of JavaScript Infrastructure by keb_ on Thursday November 11, 2021 @04:19PM (#29193324)
You'd likely still need a bundler for vendor packages. esbuild ships as a static binary, is a single dependency, and is one of the fastest bundlers around. It's also pretty much zero-config. That other stuff is just icing on top. I don't know why someone would pick webpack + babel + the endless plugins and config involved over that.