Rich-Harris / agadoo

Check whether a package is tree-shakeable
MIT License
535 stars 17 forks source link

Proposal: customizing Rollup config #10

Open spautz opened 3 years ago

spautz commented 3 years ago

We have a package which needs some custom Rollup settings. Instead of forking agadoo, I'd like a way to customize the config.

Passing in a config file from the cli -- either a base config for agadoo to add to, or a function that receives agadoo's config and returns the final config -- would work well for me. Does this sound reasonable?

I'm happy to submit a PR, if you'd like.