Skip to content

polyfillRequire

  • Type: optional polyfillRequire: boolean

Whether to add a polyfill for require() function in non-CommonJS formats.

This option is useful when you want to inject your own require implementation.

Default

ts
true

Released under the MIT License.