Options
All
  • Public
  • Public/Protected
  • All
Menu

Options for compiling entrypoints and import()s only when they are accessed.

Hierarchy

  • LazyCompilationOptions

Index

Properties

backend?: ((compiler: Compiler, callback: (err?: Error, api?: BackendApi) => void) => void) | ((compiler: Compiler) => Promise<BackendApi>) | LazyCompilationDefaultBackendOptions

Specifies the backend that should be used for handling client keep alive.

entries?: boolean

Enable/disable lazy compilation for entries.

imports?: boolean

Enable/disable lazy compilation for import() modules.

test?: string | RegExp | ((module: Module) => boolean)

Specify which entrypoints or import()ed modules should be lazily compiled. This is matched with the imported module and not the entrypoint name.