FredKSchott / rollup-plugin-polyfill-node

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

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

Open hxlhxl opened 6 months ago

hxlhxl commented 6 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.