DEV Community

Discussion on: I never need webpack or babel anymore

Collapse
 
joelbonetr profile image
JoelBonetR 🥇

I usually use Parcel Bundler instead webpack as it handles all out of the box, this way I avoid loosing time in configs and get a better experience while getting a faster build and a bit lighter output.

What can ESBuild offer on the top of that?

Collapse
 
132 profile image
Yisar

esbuild is more suitable as a common tool for building our own toolchain. For web applications, Parcel does a good job, but many projects are not web applications, such as react-native and miniapps. They also need a whole toolchain. , But they have little to do with web, I use esbuild to make the toolchain faster and smooth.

Collapse
 
joelbonetr profile image
JoelBonetR 🥇

perfect! thanks for the clarification as I'm always developing on web :D

Thread Thread
 
xinaesthete profile image
Peter Todd

Also IIRC Parcel adds several hundred mb of dependencies and isn't particularly fast. Downside of esbuild includes lack of HMR (or whatever they're calling it this month). I'm using Vite at the moment and am fairly happy with it I think.