esbuild-plugin-polyfill-node icon indicating copy to clipboard operation
esbuild-plugin-polyfill-node copied to clipboard

Extend process polyfill

Open promentol opened this issue 1 year ago • 1 comments

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()

promentol avatar Oct 22 '23 04:10 promentol

Have you tried Object.defineProperty?

cyco130 avatar Dec 30 '23 20:12 cyco130