FredKSchott / rollup-plugin-polyfill-node

A modern Node.js polyfill for your Rollup bundle.
Other
176 stars 55 forks source link

Give user the ability to override built-in polyfill implement. #81

Open hxlhxl opened 3 months ago

hxlhxl commented 3 months ago

In most cases, it works great, but in certain extreme scenarios, the built-in polyfills are inadequate to meet the target code's requirements.And there is no way to modify the polyfill code. For example, some client code use path.posix.dirname but this plugin didn't provide such function.