cyco130/esbuild-plugin-polyfill-node

Modern node polyfills

Aslemammad opened this issue · 4 comments

I wanted to mention that I worked on something called modern-node-polyfills that is based on the modern jspm node polyfills (which work really well in production).
You can consider using it under the hood of this tool.

Awesome, thanks!

I know some of the browserify polyfills are a bit old, good to know jspm has replacements. They also add a few missing pieces like fs/promises. After I add proper tests, I can add a jspm option to use their versions and maybe even make it default.

Yep, feel free to do so! Thanks.

Hi, I did switch to JSPM polyfills but I decided to resolve them myself directly instead of using an intermediate library.

Thank you for showing me they existed!