Skip to content

polyfillRequire

  • Type: boolean
  • Optional

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