boolean
true
This config is used to control whether to inject the Polyfill of the Node module into the code.
By default, we will not inject Node Polyfill into the code to avoid bundle size increase. If you need to inject Node Polyfill, you can set output.disableNodePolyfill
to false
:
This config is implemented based on the Node Polyfill plugin of Rsbuild, you can read Rsbuild - Node Polyfill Plugin documentation for details.