FredKSchott / rollup-plugin-polyfill-node

A modern Node.js polyfill for your Rollup bundle.
Other
178 stars 57 forks source link

Whitelist or blacklist certain modules #64

Open brettz9 opened 2 years ago

brettz9 commented 2 years ago

Hi,

There is some bundled code whose use of Node modules which I know will not be needed in the browser and which I therefore would prefer to be treated as an external and not polyfilled (so as to keep package size down), but I do want polyfills for certain modules.

Are there any existing solutions for this?

Thanks!

tbrannam commented 6 months ago

82