Options object for node compatibility features.

Hierarchy

  • NodeOptions

Properties

__dirname?: boolean | "warn-mock" | "mock" | "eval-only"

Include a polyfill for the '__dirname' variable.

__filename?: boolean | "warn-mock" | "mock" | "eval-only"

Include a polyfill for the '__filename' variable.

global?: boolean | "warn"

Include a polyfill for the 'global' variable.

Generated using TypeDoc