DEV Community

Discussion on: JavaScript Bundlers: An in-depth comparative πŸ‘πŸ‘Ž Is Webpack still the best bundler in 2021? πŸ“¦

Collapse
 
andreidimitrov profile image
Andrei Dimitrov

The part about Rollup looks way too optimistic. In real life you need a lot of configuration to allow Rollup work with CJS modules.

For example, when working with React you have to manually declare every imported name in configuration file. That's not super convenient.

Collapse
 
underscorecode profile image
_CODE

So good to know. I've tried Rollup with a very simple example, just to start off with it, but I guess trouble comes with more complex scenarios. Thanks for pointing that out.