On this page

Enables/Disables experiments (experimental features with relax SemVer compatibility).

Stability: 1Experimental
Type:boolean | "auto"

Support WebAssembly as asynchronous EcmaScript Module. "auto" (the default) enables it unless a loader is registered for WebAssembly files.

Stability: 1Experimental
Type:boolean

Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.

Stability: 1Experimental
Type:HttpUriOptions | (string | RegExp | ((uri: string) => boolean))[]

Build http(s): urls using a lockfile and resource content cache.

Stability: 1Experimental
Type:boolean

Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.

Stability: 1Experimental
Type:boolean | "auto"

Enable css support. "auto" (the default) enables the built-in CSS support unless a loader is registered for CSS files.

Stability: 1Experimental
Type:boolean

Enable experimental tc39 proposal https://github.com/tc39/proposal-defer-import-eval. This allows to defer execution of a module until it's first use.

Stability: 1Experimental
Type:boolean

Apply defaults of next major version.

Stability: 1Experimental
Type:boolean | "auto"

Enable HTML entry support. Treats .html files as a first-class module type so they can be used directly as entry points. "auto" (the default) enables it unless a loader is registered for HTML files.

Stability: 1Experimental

Compile entrypoints and import()s only when they are accessed.

Stability: 1Experimental
Type:boolean

Allow output javascript files as module source type.

Stability: 1Experimental
Type:boolean

Enable experimental tc39 proposal https://github.com/tc39/proposal-source-phase-imports. This allows importing modules at source phase.

Stability: 1Experimental
Type:boolean

Support WebAssembly as synchronous EcmaScript Module (outdated).

Stability: 1Experimental
Type:boolean | "auto"

Enable typescript support. "auto" (the default) enables the built-in TypeScript support when Node.js supports it (>= 22.6) and no loader is registered for TypeScript files.