Options
All
  • Public
  • Public/Protected
  • All
Menu

The abilities of the environment where the webpack generated code should run.

Hierarchy

  • Environment

Index

Properties

arrowFunction?: boolean

The environment supports arrow functions ('() => { ... }').

bigIntLiteral?: boolean

The environment supports BigInt as literal (123n).

const?: boolean

The environment supports const and let for variable declarations.

destructuring?: boolean

The environment supports destructuring ('{ a, b } = obj').

dynamicImport?: boolean

The environment supports an async import() function to import EcmaScript modules.

dynamicImportInWorker?: boolean

The environment supports an async import() is available when creating a worker.

forOf?: boolean

The environment supports 'for of' iteration ('for (const x of array) { ... }').

globalThis?: boolean

The environment supports 'globalThis'.

module?: boolean

The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from '...').

optionalChaining?: boolean

The environment supports optional chaining ('obj?.a' or 'obj?.()').

templateLiteral?: boolean

The environment supports template literals.