cyco130 / esbuild-plugin-polyfill-node

ESBuild plugin to polyfill Node.js built-ins geared towards edge environments.
MIT License
55 stars 8 forks source link

Extend process polyfill #18

Open promentol opened 1 year ago

promentol commented 1 year ago

process polyfill currently don't have stdout and stderr keys, but also not allowing to change them on runtime. Is there anyway to extend default polyfill to

I would love to polyfill them with console.logs() and console.errors()

cyco130 commented 10 months ago

Have you tried Object.defineProperty?