Can I just use esbuild yet?
Can I just use esbuild yet?
If you're just bundling JS, transforming typescript, maybe doing JSX, etc. then it's just a simple esbuild CLI command to do it. Toss it in a makefile or your CI tooling and you're done.
It does seem like magic sometimes, but the the code is relatively straightforward. It's not too complicated to dig into to the internals if you're curious about how specific configuration works under the hood. With Webpack I never really felt that way, but maybe it's some kind of subconscious bias from struggling so often with massive configs.
Yes. esbuild works great. I use it in my own full-stack framework [1]. Builds take < 1s, even for big projects. It's a really impressive tool.