DEV Community

Discussion on: What's your fav bundler: Rollup, Parcel or Webpack?

Collapse
 
ericgeek profile image
EricGeek

I like the concept, but I'm not sure if I'd use it for all Typescript projects. The types being ignored isn't an issue since that's usually checked in the development environment. However, each file is handled in isolation, so some Typescript features wouldn't work, or at least would behave differently when built by esbuild.

Far from a typescript or esbuild guru, so I'd look into this for yourself. I seem to recall one of the issues is when enums use explicit values and those values are defined in one file and used in another, for example.

That said, it works fine for what I consider "normal" usage, but my normal isn't a universal definition of normal.

As for the actual question, I've been off dealing with an ancient stack for so long that my experience with bundlers strictly academic until recently, so I don't have a favorite yet.