description: Set the value of `require.amd` and `define.amd`. Or disable AMD support.

description: You can pass `false` to disable AMD support.

description: You can pass an object to set the value of `require.amd` and `define.amd`.

type: object

description: Add a container for define/require functions in the AMD module.

type: string

description: Filtering value, regexp or function.

instanceof: RegExp

tsType: RegExp

instanceof: Function

tsType: ((name: string, asset: import('../lib/stats/DefaultStatsFactoryPlugin').StatsAsset) => boolean)

description: Filtering modules.

type: array

description: Rule to filter.

$ref: #/definitions/AssetFilterItemTypes

description: The options for data url generator.

description: Function that executes for module and should return an DataUrl string. It can have a string as 'ident' property which contributes to the module hash.

tsType: ((source: string | Buffer, context: { filename: string, module: import('../lib/Module') }) => string)

description: Options object for data url generation.

description: Asset encoding (defaults to base64).

description: Asset mimetype (getting from file extension by default).

description: Generator options for asset modules.

$ref: #/definitions/AssetGeneratorDataUrl

description: Emit an output asset from this asset module. This can be set to 'false' to omit emitting e. g. for SSR.

type: boolean

$ref: #/definitions/FilenameTemplate

$ref: #/definitions/AssetModuleOutputPath

$ref: #/definitions/RawPublicPath

description: Generator options for asset/inline modules.

description: The filename of asset modules as relative path inside the 'output.path' directory.

tsType: ((pathData: import("../lib/Compilation").PathData, assetInfo?: import("../lib/Compilation").AssetInfo) => string)

description: Emit the asset in the specified folder relative to 'output.path'. This should only be needed when custom 'publicPath' is specified to match the folder structure there.

description: Function that executes for module and should return whenever asset should be inlined as DataUrl.

tsType: ((source: string | Buffer, context: { filename: string, module: import('../lib/Module') }) => boolean)

description: Options object for DataUrl condition.

description: Maximum size of asset that should be inline as modules. Default: 8kb.

type: number

description: Parser options for asset modules.

description: The condition for inlining the asset as DataUrl.

$ref: #/definitions/AssetParserDataUrlOptions

description: Generator options for asset/resource modules.

description: Emit an output asset from this asset module. This can be set to 'false' to omit emitting e. g. for SSR.

description: Add a comment in the UMD wrapper.

description: Append the same comment above each import style.

description: Report the first error as a hard error instead of tolerating it.

description: Cache generated modules and chunks to improve performance for multiple incremental builds.

description: Enable in memory caching.

$ref: #/definitions/CacheOptionsNormalized

description: Cache generated modules and chunks to improve performance for multiple incremental builds.

description: Disable caching.

$ref: #/definitions/MemoryCacheOptions

$ref: #/definitions/FileCacheOptions

description: Add charset attribute for script tag.

description: Specifies the filename template of output files of non-initial chunks on disk. You must **not** specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.

description: The format of chunks (formats included by default are 'array-push' (web/WebWorker), 'commonjs' (node.js), 'module' (ESM), but others might be added by plugins).

description: Number of milliseconds before chunk request expires.

description: The method of loading chunks (methods included by default are 'jsonp' (web), 'import' (ESM), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).

$ref: #/definitions/ChunkLoadingType

description: The global variable used by webpack for loading of chunks.

enum: jsonp import-scripts require async-node import

description: Clean the output directory before emit.

$ref: #/definitions/CleanOptions

description: Advanced options for cleaning assets.

description: Log the assets that should be removed instead of deleting them.

description: Keep these assets.

tsType: ((filename: string) => boolean)

description: Check if to be emitted file already exists and have the same content before writing to output filesystem.

description: The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.

description: This option enables cross-origin loading of chunks.

description: Generator options for css/auto modules.

$ref: #/definitions/CssGeneratorEsModule

$ref: #/definitions/CssGeneratorExportsOnly

description: Parser options for css/auto modules.

$ref: #/definitions/CssParserNamedExports

description: Specifies the filename template of non-initial output css files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.

description: Specifies the filename template of output css files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.

description: Configure the generated JS modules that use the ES modules syntax.

description: Specifies the convention of exported names.

enum: as-is camel-case camel-case-only dashes dashes-only

tsType: ((name: string) => string)

description: Avoid generating and loading a stylesheet and only embed exports from css into output javascript files.

description: Configure the generated local ident name.

description: Generator options for css modules.

description: Generator options for css/global modules.

description: Parser options for css/global modules.

description: Compress the data in the head tag of CSS files.

description: Generator options for css/module modules.

description: Parser options for css/module modules.

description: Use ES modules named export for css exports.

description: Parser options for css modules.

description: References to other configurations to depend on.

description: References to another configuration to depend on.

description: Options for the webpack-dev-server.

description: Disable dev server.

description: Options for the webpack-dev-server.

description: A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).

description: Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.

tsType: Function

description: Filename template string of function for the sources array in a generated SourceMap.

description: Module namespace to use when interpolating filename template string for the sources array in a generated SourceMap. Defaults to `output.library` if not set. It's useful for avoiding runtime collisions in sourcemaps from multiple webpack projects built as libraries.

description: No generator options are supported for this module type.

description: No parser options are supported for this module type.

description: List of chunk loading types enabled for use by entry points.

description: List of library types enabled for use by entry points.

description: List of wasm loading types enabled for use by entry points.

description: The entry point(s) of the compilation.

description: An object with entry point description.

description: Enable/disable creating async chunks that are loaded on demand.

description: Base uri for this entry.

description: The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.

description: The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.

description: An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.

description: An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.

description: An object with entry point description.

description: Enable/disable creating async chunks that are loaded on demand.

description: Base uri for this entry.

description: The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.

description: An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.

description: Module(s) that are loaded upon startup. The last one is exported.

description: Module that is loaded upon startup. Only the last one is exported.

description: A Function returning an entry object, an entry string, an entry array or a promise to these things.

tsType: (() => EntryStatic | Promise<EntryStatic>)

description: A Function returning a Promise resolving to a normalized entry.

description: Specifies the filename of the output file on disk. You must **not** specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.

description: Module(s) that are loaded upon startup.

description: All modules are loaded upon startup. The last one is exported.

description: A module that is loaded upon startup. Only the last one is exported.

description: The string is resolved to a module which is loaded upon startup.

description: The entry point(s) of the compilation.

description: Multiple entry bundles are created. The key is the entry name. The value can be a string, an array or an entry description object.

description: An entry point with name.

description: The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.

description: A static entry description.

description: Multiple entry bundles are created. The key is the entry name. The value is an entry description object.

description: An object with entry point description.

description: An entry point without name.

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

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

description: The environment supports async function and await ('async function () { await ... }').

description: The environment supports BigInt as literal (123n).

description: The environment supports const and let for variable declarations.

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

description: The environment supports 'document'.

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

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

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

description: The environment supports 'globalThis'.

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

description: The environment supports `node:` prefix for Node.js core modules.

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

description: The environment supports template literals.

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

description: Support WebAssembly as asynchronous EcmaScript Module.

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

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

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

description: Enable css support.

description: Apply defaults of next major version.

description: Enable module layers.

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

description: Allow output javascript files as module source type.

description: Support WebAssembly as synchronous EcmaScript Module (outdated).

description: Allow using top-level-await in EcmaScript Modules.

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

description: Support WebAssembly as asynchronous EcmaScript Module.

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

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

description: Apply defaults of next major version.

description: Enable module layers.

description: Allow output javascript files as module source type.

description: Support WebAssembly as synchronous EcmaScript Module (outdated).

description: Allow using top-level-await in EcmaScript Modules.

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

description: Support WebAssembly as asynchronous EcmaScript Module.

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

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

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

description: Enable css support.

description: Apply defaults of next major version.

description: Enable module layers.

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

description: Allow output javascript files as module source type.

description: Support WebAssembly as synchronous EcmaScript Module (outdated).

description: Allow using top-level-await in EcmaScript Modules.

description: Extend configuration from another configuration (only works when using webpack-cli).

description: Path to the configuration to be extended (only works when using webpack-cli).

description: Specify dependency that shouldn't be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.

description: Every matched dependency becomes external.

description: An exact matched dependency becomes external. The same string is used as external dependency.

description: If an dependency matches exactly a property of the object, the property value is used as dependency.

description: Specify externals depending on the layer.

tsType: ((layer: string | null) => ExternalItem)

description: The function is called on each dependency (`function(context, request, callback(err, result))`).

tsType: (((data: ExternalItemFunctionData, callback: (err?: (Error | null), result?: ExternalItemValue) => void) => void) | ((data: ExternalItemFunctionData) => Promise<ExternalItemValue>))

description: Data object passed as argument when a function is set for 'externals'.

description: The directory in which the request is placed.

description: Contextual information.

description: The category of the referencing dependencies.

description: Get a resolve function with the current resolver options.

tsType: ((options?: ResolveOptions) => ((context: string, request: string, callback: (err?: Error, result?: string) => void) => void) | ((context: string, request: string) => Promise<string>))

description: The request as written by the user in the require/import expression/statement.

description: The dependency used for the external.

description: A part of the target of the external.

description: `true`: The dependency name is used as target of the external.

description: The target of the external.

description: Specify dependencies that shouldn't be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.

description: Enable presets of externals for specific targets.

description: Treat common electron built-in modules in main and preload context like 'electron', 'ipc' or 'shell' as external and load them via require() when used.

description: Treat electron built-in modules in the main context like 'app', 'ipc-main' or 'shell' as external and load them via require() when used.

description: Treat electron built-in modules in the preload context like 'web-frame', 'ipc-renderer' or 'shell' as external and load them via require() when used.

description: Treat electron built-in modules in the renderer context like 'web-frame', 'ipc-renderer' or 'shell' as external and load them via require() when used.

description: Treat node.js built-in modules like fs, path or vm as external and load them via require() when used.

description: Treat NW.js legacy nw.gui module as external and load it via require() when used.

description: Treat references to 'http(s)://...' and 'std:...' as external and load them via import when used (Note that this changes execution order as externals are executed before any other code in the chunk).

description: Treat references to 'http(s)://...' and 'std:...' as external and load them via async import() when used (Note that this external type is an async module, which has various effects on the execution).

description: Specifies the default type of externals ('amd*', 'umd*', 'system' and 'jsonp' depend on output.libraryTarget set to the same value).

enum: var module assign this window self global commonjs commonjs2 commonjs-module commonjs-static amd amd-require umd umd2 jsonp system promise import script node-commonjs

description: These values will be ignored by webpack and created to be used with '&&' or '||' to improve readability of configurations.

description: Options object for persistent file-based caching.

description: Allows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.

description: Dependencies the build depends on (in multiple categories, default categories: 'defaultWebpack').

description: List of dependencies the build depends on.

description: Request to a dependency (resolved as directory relative to the context directory).

description: Base directory for the cache (defaults to node_modules/.cache/webpack).

description: Locations for the cache (defaults to cacheDirectory / name).

description: Compression type used for the cache files.

description: Algorithm used for generation the hash (see node.js crypto package).

description: Time in ms after which idle period the cache storing should happen.

description: Time in ms after which idle period the cache storing should happen when larger changes has been detected (cumulative build time > 2 x avg cache store time).

description: Time in ms after which idle period the initial cache storing should happen.

description: List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.

description: List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.

description: A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)

description: A path to an immutable directory (usually a package manager cache directory).

description: List of paths that are managed by a package manager and can be trusted to not be modified otherwise.

description: List of paths that are managed by a package manager and can be trusted to not be modified otherwise.

description: A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)

description: A path to a managed directory (usually a node_modules directory).

description: Time for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).

description: Number of generations unused cache entries stay in memory cache at minimum (0 = no memory cache used, 1 = may be removed after unused for a single compilation, ..., Infinity: kept forever). Cache entries will be deserialized from disk when removed from memory cache.

description: Additionally cache computation of modules that are unchanged and reference only unchanged modules in memory.

description: Name for the cache. Different names will lead to different coexisting caches.

description: Track and log detailed timing information for individual cache items.

description: Enable/disable readonly mode.

description: When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).

description: Filesystem caching.

description: Version of the cache data. Different versions won't allow to reuse the cache and override existing content. Update the version when config changed in a way which doesn't allow to reuse cache. This will invalidate the cache.

description: Specifies the filename of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.

description: Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.

description: Filtering value, regexp or function.

description: Filtering values.

description: Rule to filter.

description: Specify options for each generator.

description: Options for generating.

description: An expression which is used to address the global object/scope in runtime code.

description: Digest type used for the hash.

description: Number of chars which are used for the hash.

description: Algorithm used for generation the hash (see node.js crypto package).

description: Any string which is added to the hash to salt it.

description: The filename of the Hot Update Chunks. They are inside the output.path directory.

description: The global variable used by webpack for loading of hot update chunks.

description: The filename of the Hot Update Main File. It is inside the 'output.path' directory.

description: List of allowed URIs for building http resources.

description: Options for building http resources.

description: Location where resource content is stored for lockfile entries. It's also possible to disable storing by passing false.

description: When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.

description: Location of the lockfile.

description: Proxy configuration, which can be used to specify a proxy server to use for HTTP requests.

description: When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.

description: List of allowed URIs (resp. the beginning of them).

description: List of allowed URIs (resp. the beginning of them).

description: Allowed URI pattern.

description: Allowed URI (resp. the beginning of it).

description: Allowed URI filter function.

description: Ignore specific warnings.

description: Ignore specific warnings.

description: A RegExp to select the warning message.

description: A RegExp to select the origin file for the warning.

description: A RegExp to select the warning message.

description: A RegExp to select the origin module for the warning.

description: A custom function to select warnings based on the raw warning instance.

tsType: ((warning: import('../lib/WebpackError'), compilation: import('../lib/Compilation')) => boolean)

description: Ignore specific warnings.

description: A function to select warnings based on the raw warning instance.

description: Wrap javascript code into IIFE's to avoid leaking into global scope.

description: The name of the native import() function (can be exchanged for a polyfill).

description: The name of the native import.meta object (can be exchanged for a polyfill).

description: Options for infrastructure level logging.

description: Only appends lines to the output. Avoids updating existing output e. g. for status messages. This option is only used when no custom console is provided.

description: Enables/Disables colorful output. This option is only used when no custom console is provided.

description: Custom console used for logging.

description: Enable debug logging for specific loggers.

description: Enable/Disable debug logging for all loggers.

description: Log level.

description: Stream used for logging output. Defaults to process.stderr. This option is only used when no custom console is provided.

description: Parser options for javascript modules.

description: Enable/disable special handling for browserify bundles.

description: Enable/disable parsing of CommonJs syntax.

description: Enable/disable parsing of magic comments in CommonJs syntax.

description: Enable/disable parsing "import { createRequire } from "module"" and evaluating createRequire().

description: Specifies global fetchPriority for dynamic import.

description: Specifies global mode for dynamic import.

description: Specifies global prefetch for dynamic import.

description: Specifies global preload for dynamic import.

description: Specifies the behavior of invalid export names in "import ... from ..." and "export ... from ...".

description: Enable warnings for full dynamic dependencies.

description: Enable recursive directory lookup for full dynamic dependencies.

description: Sets the default regular expression for full dynamic dependencies.

description: Set the default request for full dynamic dependencies.

description: Enable/disable parsing of EcmaScript Modules syntax.

description: Enable/disable parsing of import() syntax.

description: Specifies the behavior of invalid export names in "import ... from ...".

description: Enable/disable evaluating import.meta.

description: Enable/disable evaluating import.meta.webpackContext.

description: Specifies the behavior of invalid export names in "export ... from ...". This might be useful to disable during the migration from "export ... from ..." to "export type ... from ..." when reexporting types in TypeScript.

description: Enable/disable parsing of require.context syntax.

description: Enable/disable parsing of require.ensure syntax.

description: Enable/disable parsing of require.include syntax.

description: Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.

description: Deprecated in favor of "exportsPresence". Emit errors instead of warnings when imported names don't exist in imported module.

description: Handle the this context correctly according to the spec for namespace objects.

description: Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.

description: Enable warnings when using the require function in a not statically analyse-able way.

description: Enable recursive directory lookup when using the require function in a not statically analyse-able way.

description: Sets the regular expression when using the require function in a not statically analyse-able way.

description: Sets the request when using the require function in a not statically analyse-able way.

description: Enable/disable parsing of new URL() syntax.

description: Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().

description: Specify a syntax that should be parsed as WebWorker reference. 'Abc' handles 'new Abc()', 'Abc from xyz' handles 'import { Abc } from "xyz"; new Abc()', 'abc()' handles 'abc()', and combinations are also possible.

description: Enable warnings for partial dynamic dependencies.

description: Enable recursive directory lookup for partial dynamic dependencies.

description: Set the inner regular expression for partial dynamic dependencies.

description: Specifies the layer in which modules of this entrypoint are placed.

description: Options for the default backend.

description: A custom client.

description: Specifies where to listen to from the server.

description: A port.

description: Listen options.

description: A host.

description: A port.

description: A custom listen function.

tsType: ((server: import("net").Server) => void)

description: Specifies the protocol the client should use to connect to the server.

description: Specifies how to create the server handling the EventSource requests.

description: ServerOptions for the http or https createServer call.

description: A custom create server function.

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

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

description: A custom backend.

tsType: (((compiler: import('../lib/Compiler'), callback: (err?: Error, api?: import("../lib/hmr/LazyCompilationPlugin").BackendApi) => void) => void) | ((compiler: import('../lib/Compiler')) => Promise<import("../lib/hmr/LazyCompilationPlugin").BackendApi>))

description: Enable/disable lazy compilation for entries.

description: Enable/disable lazy compilation for import() modules.

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

tsType: ((module: import('../lib/Module')) => boolean)

description: Make the output files a library, exporting the exports of the entry point.

description: Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.

description: Set comment for `amd` section in UMD.

description: Set comment for `commonjs` (exports) section in UMD.

description: Set comment for `commonjs2` (module.exports) section in UMD.

description: Set comment for `root` (global variable) section in UMD.

description: Description object for all UMD variants of the library name.

description: Name of the exposed AMD library in the UMD.

description: Name of the exposed commonjs export in the UMD.

description: Name of the property exposed globally by a UMD library.

description: Part of the name of the property exposed globally by a UMD library.

description: Specify which export should be exposed as library.

description: Part of the export that should be exposed as library.

description: The name of the library (some types allow unnamed libraries too).

description: A part of the library name.

description: Options for library.

description: Type of library (types included by default are 'var', 'module', 'assign', 'assign-properties', 'this', 'window', 'self', 'global', 'commonjs', 'commonjs2', 'commonjs-module', 'commonjs-static', 'amd', 'amd-require', 'umd', 'umd2', 'jsonp', 'system', but others might be added by plugins).

enum: var module assign assign-properties this window self global commonjs commonjs2 commonjs-module commonjs-static amd amd-require umd umd2 jsonp system

description: Custom values available in the loader context.

description: Options object for in-memory caching.

description: Additionally cache computation of modules that are unchanged and reference only unchanged modules.

description: Number of generations unused cache entries stay in memory cache at minimum (1 = may be removed after unused for a single compilation, ..., Infinity: kept forever).

description: In memory caching.

description: Enable production optimizations or development hints.

description: Filtering value, regexp or function.

tsType: ((name: string, module: import('../lib/stats/DefaultStatsFactoryPlugin').StatsModule, type: 'module' | 'chunk' | 'root-of-chunk' | 'nested') => boolean)

description: Filtering modules.

description: Rule to filter.

description: Options affecting the normal modules (`NormalModuleFactory`).

description: An array of rules applied by default for modules.

description: Enable warnings for full dynamic dependencies.

description: Enable recursive directory lookup for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRecursive'.

description: Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRegExp'.

description: Set the default request for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRequest'.

description: An array of rules applied for modules.

description: Emit errors instead of warnings when imported names don't exist in imported module. Deprecated: This option has moved to 'module.parser.javascript.strictExportPresence'.

description: Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to 'module.parser.javascript.strictThisContextOnImports'.

description: Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextCritical'.

description: Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextRecursive'.

description: Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextRegExp'.

description: Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextRequest'.

description: Cache the resolving of module requests.

description: Enable warnings for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextCritical'.

description: Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextRecursive'.

description: Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextRegExp'.

description: Options affecting the normal modules (`NormalModuleFactory`).

description: An array of rules applied by default for modules.

description: An array of rules applied for modules.

description: Cache the resolving of module requests.

description: Name of the configuration. Used when loading multiple configurations.

description: Don't parse files matching. It's matched against the full resolved request.

description: Don't parse files matching. It's matched against the full resolved request.

description: A regular expression, when matched the module is not parsed.

description: An absolute path, when the module starts with this path it is not parsed.

description: A regular expression, when matched the module is not parsed.

description: An absolute path, when the module starts with this path it is not parsed.

description: Include polyfills or mocks for various node stuff.

description: Options object for node compatibility features.

description: Include a polyfill for the '__dirname' variable.

description: Include a polyfill for the '__filename' variable.

description: Include a polyfill for the 'global' variable.

description: Enables/Disables integrated optimizations.

description: Check for incompatible wasm types when importing/exporting from/to ESM.

description: Define the algorithm to choose chunk ids (named: readable ids for better debugging, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, total-size: numeric ids focused on minimal total download size, false: no algorithm used, as custom one can be provided via plugin).

description: Concatenate modules when possible to generate less modules, more efficient code and enable more optimizations by the minimizer.

description: Emit assets even when errors occur. Critical errors are emitted into the generated code and will cause errors at runtime.

description: Also flag chunks as loaded which contain a subset of the modules.

description: Creates a module-internal dependency graph for top level symbols, exports and imports, to improve unused exports detection.

description: Rename exports when possible to generate shorter code (depends on optimization.usedExports and optimization.providedExports, true/"deterministic": generate short deterministic names optimized for caching, "size": generate the shortest possible names).

description: Reduce size of WASM by changing imports to shorter strings.

description: Merge chunks which contain the same modules.

description: Enable minimizing the output. Uses optimization.minimizer.

description: Minimizer(s) to use for minimizing the output.

description: Plugin of type object or instanceof Function.

description: Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: (deprecated) short hashes as ids for better long term caching, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, false: no algorithm used, as custom one can be provided via plugin).

description: Avoid emitting assets when errors occur (deprecated: use 'emitOnErrors' instead).

description: Set process.env.NODE_ENV to a specific value.

description: Generate records with relative paths to be able to move the context folder.

description: Figure out which exports are provided by modules to generate more efficient code.

description: Use real [contenthash] based on final content of the assets.

description: Removes modules from chunks when these modules are already included in all parents.

description: Remove chunks which are empty.

description: Skip over modules which contain no side effects when exports are not used (false: disabled, 'flag': only use manually placed side effects flag, true: also analyse source code for side effects).

description: Optimize duplication and caching by splitting chunks by shared modules and cache group.

description: Figure out which exports are used by modules to mangle export names, omit unused exports and generate more efficient code (true: analyse used exports for each runtime, "global": analyse exports globally for all runtimes combined).

description: Create an additional chunk which contains only the webpack runtime and chunk hash maps.

description: The name or name factory for the runtime chunks.

description: Create an additional chunk which contains only the webpack runtime and chunk hash maps.

description: The name factory for the runtime chunks.

description: Options object for describing behavior of a cache group selecting modules that should be cached together.

description: Sets the name delimiter for created chunks.

description: Select chunks for determining cache group content (defaults to "initial", "initial" and "all" requires adding these chunks to the HTML).

tsType: ((chunk: import('../lib/Chunk')) => boolean)

description: Ignore minimum size, minimum chunks and maximum requests and always create chunks for this cache group.

description: Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.

description: Sets the template for the filename for created chunks.

description: Sets the hint for chunk id.

description: Assign modules to a cache group by module layer.

description: Maximum number of requests which are accepted for on-demand loading.

description: Maximal size hint for the on-demand chunks.

description: Maximum number of initial chunks which are accepted for an entry point.

description: Maximal size hint for the initial chunks.

description: Maximal size hint for the created chunks.

description: Minimum number of times a module has to be duplicated until it's considered for splitting.

description: Minimal size for the chunks the stay after moving the modules to a new chunk.

description: Minimal size for the created chunk.

description: Minimum size reduction due to the created chunk.

description: Give chunks for this cache group a name (chunks with equal name are merged).

description: Priority of this cache group.

description: Try to reuse existing chunk (with name) when it has matching modules.

description: Assign modules to a cache group by module name.

description: Assign modules to a cache group by module type.

description: Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.

description: A function returning cache groups.

tsType: ((module: import('../lib/Module')) => OptimizationSplitChunksCacheGroup | OptimizationSplitChunksCacheGroup[] | void)

description: Options object for splitting chunks into smaller chunks.

description: Sets the name delimiter for created chunks.

description: Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks, default categories: 'default', 'defaultVendors').

description: Configuration for a cache group.

description:
Using the cacheGroup shorthand syntax with a cache group named 'test' is a potential config error
Did you intent to define a cache group with a test instead?
cacheGroups: {
  <name>: {
    test: ...
  }
}.

description: The test property is a cache group name, but using the test option of the cache group could be intended instead.

description: Select chunks for determining shared modules (defaults to "async", "initial" and "all" requires adding these chunks to the HTML).

description: Sets the size types which are used when a number is used for sizes.

description: Size type, like 'javascript', 'webassembly'.

description: Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.

description: Options for modules not selected by any other cache group.

description: Sets the name delimiter for created chunks.

description: Select chunks for determining shared modules (defaults to "async", "initial" and "all" requires adding these chunks to the HTML).

description: Maximal size hint for the on-demand chunks.

description: Maximal size hint for the initial chunks.

description: Maximal size hint for the created chunks.

description: Minimal size for the created chunk.

description: Minimum size reduction due to the created chunk.

description: Sets the template for the filename for created chunks.

description: Prevents exposing path info when creating names for parts splitted by maxSize.

description: Maximum number of requests which are accepted for on-demand loading.

description: Maximal size hint for the on-demand chunks.

description: Maximum number of initial chunks which are accepted for an entry point.

description: Maximal size hint for the initial chunks.

description: Maximal size hint for the created chunks.

description: Minimum number of times a module has to be duplicated until it's considered for splitting.

description: Minimal size for the chunks the stay after moving the modules to a new chunk.

description: Minimal size for the created chunks.

description: Minimum size reduction due to the created chunk.

description: Give chunks created a name (chunks with equal name are merged).

description: Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.

description: Size description for limits.

description: Size of the javascript part of the chunk.

description: Specify size limits per size type.

description: Size of the part of the chunk with the type of the key.

description: Options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.

description: Enable/disable creating async chunks that are loaded on demand.

description: Ignore warnings in the browser.

description: Use a Trusted Types policy to create urls for chunks. 'output.uniqueName' is used a default policy name. Passing a string sets a custom policy name.

description: The name of the Trusted Types policy created by webpack to serve bundle chunks.

description: Output javascript files as module source type.

description: Normalized options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.

description: Enable/disable creating async chunks that are loaded on demand.

description: Ignore warnings in the browser.

description: The number of parallel processed modules in the compilation.

description: Specify options for each parser.

description: Options for parsing.

description: The output directory as **absolute path** (required).

description: Include comments with information about the modules.

description: Configuration for web performance recommendations.

description: Configuration object for web performance recommendations.

description: Filter function to select assets that are checked.

description: Sets the format of the hints: warnings, errors or nothing at all.

description: File size limit (in bytes) when exceeded, that webpack will provide performance hints.

description: Total size of an entry point (in bytes).

description: Add additional plugins to the compiler.

description: Plugin of type object or instanceof Function.

description: Capture timing information for each module.

description: The 'publicPath' specifies the public URL address of the output files when referenced in a browser.

description: The 'publicPath' specifies the public URL address of the output files when referenced in a browser.

description: Store compiler state to a json file.

description: Load compiler state from a json file.

description: Store/Load compiler state from/to a json file. This will result in persistent ids of modules and chunks. An absolute path is expected. `recordsPath` is used for `recordsInputPath` and `recordsOutputPath` if they left undefined.

description: Options for the resolver.

description: Redirect module requests.

description: Alias configuration.

description: New request.

description: Multiple alternative requests.

description: One choice of request.

description: Ignore request (replace with empty module).

description: New request.

description: Request to be redirected.

description: Redirect only exact matching request.

description: New request.

description: Multiple alternative requests.

description: One choice of request.

description: Ignore request (replace with empty module).

description: New request.

description: Options for the resolver when resolving loaders.

description: Options object for resolving requests.

description: Fields in the description file (usually package.json) which are used to redirect requests inside the module.

description: Field in the description file (usually package.json) which are used to redirect requests inside the module.

description: Part of the field path in the description file (usually package.json) which are used to redirect requests inside the module.

description: Extra resolve options per dependency category. Typical categories are "commonjs", "amd", "esm".

description: Options object for resolving requests.

description: Enable caching of successfully resolved requests (cache entries are revalidated).

description: Predicate function to decide which requests should be cached.

tsType: ((request: import('enhanced-resolve').ResolveRequest) => boolean)

description: Include the context information in the cache identifier when caching.

description: Condition names for exports field entry point.

description: Condition names for exports field entry point.

description: Filenames used to find a description file (like a package.json).

description: Filename used to find a description file (like a package.json).

description: Enforce the resolver to use one of the extensions from the extensions option (User must specify requests without extension).

description: Field names from the description file (usually package.json) which are used to provide entry points of a package.

description: Field name from the description file (usually package.json) which is used to provide entry points of a package.

description: An object which maps extension to extension aliases.

description: Extension alias.

description: Multiple extensions.

description: Aliased extension.

description: Aliased extension.

description: Extensions added to the request when trying to find the file.

description: Extension added to the request when trying to find the file.

description: Redirect module requests when normal resolving fails.

description: Filesystem for the resolver.

description: Treats the request specified by the user as fully specified, meaning no extensions are added and the mainFiles in directories are not resolved (This doesn't affect requests from mainFields, aliasFields or aliases).

description: Field names from the description file (usually package.json) which are used to provide internal request of a package (requests starting with # are considered as internal).

description: Field name from the description file (usually package.json) which is used to provide internal request of a package (requests starting with # are considered as internal).

description: Field names from the description file (package.json) which are used to find the default entry point.

description: Field name from the description file (package.json) which are used to find the default entry point.

description: Part of the field path from the description file (package.json) which are used to find the default entry point.

description: Filenames used to find the default entry point if there is no description file or main field.

description: Filename used to find the default entry point if there is no description file or main field.

description: Folder names or directory paths where to find modules.

description: Folder name or directory path where to find modules.

description: Plugins for the resolver.

description: Plugin of type object or instanceof Function.

description: Prefer to resolve server-relative URLs (starting with '/') as absolute paths before falling back to resolve in 'resolve.roots'.

description: Prefer to resolve module requests as relative request and fallback to resolving as module.

description: Custom resolver.

description: A list of resolve restrictions. Resolve results must fulfill all of these restrictions to resolve successfully. Other resolve paths are taken when restrictions are not met.

description: Resolve restriction. Resolve result must fulfill this restriction.

description: A list of directories in which requests that are server-relative URLs (starting with '/') are resolved.

description: Directory in which requests that are server-relative URLs (starting with '/') are resolved.

description: Enable resolving symlinks to the original location.

description: Enable caching of successfully resolved requests (cache entries are not revalidated).

description: Use synchronous filesystem calls for the resolver.

description: Plugin instance.

description: The run point of the plugin, required method.

tsType: (arg0: import('enhanced-resolve').Resolver) => void

tsType: ((this: import('enhanced-resolve').Resolver, arg1: import('enhanced-resolve').Resolver) => void)

description: A condition matcher.

description: A condition matcher matching an absolute path.

description: One or multiple rule conditions.

description: One or multiple rule conditions matching an absolute path.

description: A list of rule conditions.

description: A rule condition.

description: A list of rule conditions matching an absolute path.

description: A rule condition matching an absolute path.

description: A loader request.

description: Options passed to a loader.

description: Logic operators used in a condition matcher.

description: Logical AND.

description: Logical NOT.

description: Logical OR.

description: Logic operators used in a condition matcher.

description: Logical AND.

description: Logical NOT.

description: Logical OR.

description: A rule description with conditions and effects for modules.

description: Match on import assertions of the dependency.

description: Match the child compiler name.

description: Match dependency type.

description: Match values of properties in the description file (usually package.json).

description: Enforce this rule as pre or post step.

description: Shortcut for resource.exclude.

description: The options for the module generator.

description: Shortcut for resource.include.

description: Match the issuer of the module (The module pointing to this module).

description: Match layer of the issuer of this module (The module pointing to this module).

description: Specifies the layer in which the module should be placed in.

description: Shortcut for use.loader.

description: Match module mimetype when load from Data URI.

description: Only execute the first matching rule in this array.

description: A rule.

description: Shortcut for use.options.

description: Options for parsing.

description: Match the real resource path of the module.

description: Options for the resolver.

description: Match the resource path of the module.

description: Match the resource fragment of the module.

description: Match the resource query of the module.

description: Match and execute these rules when this rule is matched.

description: A rule.

description: Match module scheme.

description: Flags a module as with or without side effects.

description: Shortcut for resource.test.

description: Module type to use for the module.

description: Modifiers applied to the module when rule is matched.

description: Match on import attributes of the dependency.

description: A list of rules.

description: A rule.

description: A list of descriptions of loaders applied.

description: An use item.

tsType: ((data: { resource: string, realResource: string, resourceQuery: string, issuer: string, compiler: string }) => (Falsy | RuleSetUseItem)[])

description: A description of an applied loader.

description: Unique loader options identifier.

description: Loader name.

description: Loader options.

tsType: ((data: object) => RuleSetUseItem | (Falsy | RuleSetUseItem)[])

description: This option enables loading async chunks via a custom script type, such as script type="module".

description: Options affecting how file system snapshots are created and validated.

description: Options for snapshotting build dependencies to determine if the whole cache need to be invalidated.

description: Use hashes of the content of the files/directories to determine invalidation.

description: Use timestamps of the files/directories to determine invalidation.

description: List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.

description: List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.

description: A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)

description: A path to an immutable directory (usually a package manager cache directory).

description: List of paths that are managed by a package manager and can be trusted to not be modified otherwise.

description: List of paths that are managed by a package manager and can be trusted to not be modified otherwise.

description: A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)

description: A path to a managed directory (usually a node_modules directory).

description: Options for snapshotting dependencies of modules to determine if they need to be built again.

description: Use hashes of the content of the files/directories to determine invalidation.

description: Use timestamps of the files/directories to determine invalidation.

description: Options for snapshotting dependencies of request resolving to determine if requests need to be re-resolved.

description: Use hashes of the content of the files/directories to determine invalidation.

description: Use timestamps of the files/directories to determine invalidation.

description: Options for snapshotting the resolving of build dependencies to determine if the build dependencies need to be re-resolved.

description: Use hashes of the content of the files/directories to determine invalidation.

description: Use timestamps of the files/directories to determine invalidation.

description: List of paths that are not managed by a package manager and the contents are subject to change.

description: List of paths that are not managed by a package manager and the contents are subject to change.

description: A RegExp matching an unmanaged directory.

description: A path to an unmanaged directory.

description: The filename of the SourceMaps for the JavaScript files. They are inside the 'output.path' directory.

description: Prefixes every line of the source in the bundle with this string.

description: Stats options object.

description: Fallback value for stats options when an option is not defined (has precedence over local webpack defaults).

description: Add assets information.

description: Sort the assets by that field.

description: Space to display assets (groups will be collapsed to fit this space).

description: Add built at time information.

description: Add information about cached (not built) modules (deprecated: use 'cachedModules' instead).

description: Show cached assets (setting this to `false` only shows emitted files).

description: Add information about cached (not built) modules.

description: Add children information.

description: Display auxiliary assets in chunk groups.

description: Display children of chunk groups.

description: Limit of assets displayed in chunk groups.

description: Display all chunk groups with the corresponding bundles.

description: Add built modules information to chunk information.

description: Space to display chunk modules (groups will be collapsed to fit this space, value is in number of modules/group).

description: Add the origins of chunks and chunk merging info.

description: Add information about parent, children and sibling chunks to chunk information.

description: Add chunk information.

description: Sort the chunks by that field.

description: Enables/Disables colorful output.

description: Enables/Disables colorful output.

description: Custom color for bold text.

description: Custom color for cyan text.

description: Custom color for green text.

description: Custom color for magenta text.

description: Custom color for red text.

description: Custom color for yellow text.

description: Context directory for request shortening.

description: Show chunk modules that are dependencies of other modules of the chunk.

description: Add module depth in module graph.

description: Display the entry points with the corresponding bundles.

description: Add --env information.

description: Add details to errors (like resolving log).

description: Add internal stack trace to errors.

description: Add errors.

description: Add errors count.

description: Space to display errors (value is in number of lines).

description: Please use excludeModules instead.

description: Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.

description: Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.

description: Group assets by how their are related to chunks.

description: Group assets by their status (emitted, compared for emit or cached).

description: Group assets by their extension.

description: Group assets by their asset info (immutable, development, hotModuleReplacement, etc).

description: Group assets by their path.

description: Group modules by their attributes (errors, warnings, assets, optional, orphan, or dependent).

description: Group modules by their status (cached or built and cacheable).

description: Group modules by their extension.

description: Group modules by their layer.

description: Group modules by their path.

description: Group modules by their type.

description: Group reasons by their origin module.

description: Add the hash of the compilation.

description: Add ids.

description: Add logging output.

description: Specify log level of logging output.

description: Enable/disable logging output (`true`: shows normal logging output, loglevel: log).

description: Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions.

description: Enable/Disable debug logging for all loggers.

description: Add stack traces to logging output.

description: Add information about assets inside modules.

description: Add dependencies and origin of warnings/errors.

description: Add built modules information.

description: Sort the modules by that field.

description: Space to display modules (groups will be collapsed to fit this space, value is in number of modules/groups).

description: Add information about modules nested in other modules (like with module concatenation).

description: Space to display modules nested within other modules (groups will be collapsed to fit this space, value is in number of modules/group).

description: Show reasons why optimization bailed out for modules.

description: Add information about orphan modules.

description: Add output path information.

description: Add performance hint flags.

description: Preset for the default values.

description: Show exports provided by modules.

description: Add public path information.

description: Add information about the reasons why modules are included.

description: Space to display reasons (groups will be collapsed to fit this space).

description: Add information about assets that are related to other assets (like SourceMaps for assets).

description: Add information about runtime modules (deprecated: use 'runtimeModules' instead).

description: Add information about runtime modules.

description: Add the source code of modules.

description: Add timing information.

description: Show exports used by modules.

description: Add webpack version information.

description: Add warnings.

description: Add warnings count.

description: Suppress listing warnings that match the specified filters (they will still be counted). Filters can be Strings, RegExps or Functions.

description: Space to display warnings (value is in number of lines).

description: Stats options object or preset name.

enum: none summary errors-only errors-warnings minimal normal detailed verbose

description: Handles error in module loading correctly at a performance cost. This will handle module error compatible with the EcmaScript Modules spec.

description: Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.

description: Environment to build for. An array of environments to build for all of them when possible.

description: Environment to build for.

description: Use a Trusted Types policy to create urls for chunks.

description: If the call to `trustedTypes.createPolicy(...)` fails -- e.g., due to the policy name missing from the CSP `trusted-types` list, or it being a duplicate name, etc. -- controls whether to continue with loading in the hope that `require-trusted-types-for 'script'` isn't enforced yet, versus fail immediately. Default behavior is 'stop'.

description: The name of the Trusted Types policy created by webpack to serve bundle chunks.

description: If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.

description: A unique name of the webpack build to avoid multiple webpack runtimes to conflict when using globals.

description: Filtering value, regexp or function.

tsType: ((warning: import('../lib/stats/DefaultStatsFactoryPlugin').StatsError, value: string) => boolean)

description: Filtering warnings.

description: Rule to filter.

description: The method of loading WebAssembly Modules (methods included by default are 'fetch' (web/WebWorker), 'async-node' (node.js), but others might be added by plugins).

description: Enter watch mode, which rebuilds on file change.

description: Options for the watcher.

description: Delay the rebuilt after the first change. Value is a time in ms.

description: Resolve symlinks and watch symlink and real file. This is usually not needed as webpack already resolves symlinks ('resolve.symlinks').

description: Ignore some files from watching (glob pattern or regexp).

description: A glob pattern for files that should be ignored from watching.

description: A single glob pattern for files that should be ignored from watching.

description: Enable polling mode for watching.

description: `number`: use polling with specified interval.

description: `true`: use polling.

description: Stop watching when stdin stream has ended.

description: The filename of WebAssembly modules as relative path inside the 'output.path' directory.

description: Normalized webpack options object.

required: cache snapshot entry experiments externals externalsPresets infrastructureLogging module node optimization output plugins resolve resolveLoader stats watchOptions

description: Function acting as plugin.

tsType: (this: import('../lib/Compiler'), compiler: import('../lib/Compiler')) => void

description: Plugin instance.

description: The run point of the plugin, required method.

tsType: (compiler: import('../lib/Compiler')) => void

description: Worker public path. Much like the public path, this sets the location where the worker script file is intended to be found. If not set, webpack will use the publicPath. Don't set this option unless your worker scripts are located at a different path from your other script files.

title: WebpackOptions

description: Options object as provided by the user.


description: Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.

$ref: #/definitions/ExposesItem

$ref: #/definitions/ExposesObject

description: Advanced configuration for modules that should be exposed by this container.

description: Request to a module that should be exposed by this container.

$ref: #/definitions/ExposesItems

description: Custom chunk name for the exposed module.

description: Module that should be exposed by this container.

description: Modules that should be exposed by this container. Property names are used as public paths.

$ref: #/definitions/ExposesConfig

description: Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.

$ref: #/definitions/RemotesItem

$ref: #/definitions/RemotesObject

description: Advanced configuration for container locations from which modules should be resolved and loaded at runtime.

$ref: #/definitions/RemotesItems

description: The name of the share scope shared with this remote.

description: Container location from which modules should be resolved and loaded at runtime.

description: Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.

$ref: #/definitions/RemotesConfig

license: mit


description: Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.

$ref: #/definitions/SharedItem

$ref: #/definitions/SharedObject

description: Advanced configuration for modules that should be shared in the share scope.

description: Include the provided and fallback module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.

description: Provided module that should be provided to share scope. Also acts as fallback module if no shared module is found in share scope or version isn't valid. Defaults to the property name.

description: No provided or fallback module.

description: Package name to determine required version from description file. This is only needed when package name can't be automatically determined from request.

description: Version requirement from module in share scope.

description: No version requirement check.

description: Version as string. Can be prefixed with '^' or '~' for minimum matches. Each part of the version should be separated by a dot '.'.

description: Module is looked up under this key from the share scope.

description: Share scope name.

description: Allow only a single version of the shared module in share scope (disabled by default).

description: Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).

description: Version of the provided module. Will replace lower matching versions, but not higher.

description: Don't provide a version.

description: Version as string. Each part of the version should be separated by a dot '.'.

description: A module that should be shared in the share scope.

description: Modules that should be shared in the share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.

$ref: #/definitions/SharedConfig


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: import("../../declarations/plugins/BannerPlugin").BannerPluginArgument) => boolean;
export = check;


description: The banner as function, it will be wrapped in a comment.

tsType: (data: { hash?: string, chunk: import('../../lib/Chunk'), filename: string }) => string

description: Filtering rule as regex or string.

tsType: RegExp

description: Filtering rules.

description: A rule condition.

$ref: #/definitions/Rule

title: BannerPluginArgument

description: The banner as string, it will be wrapped in a comment.

title: BannerPluginOptions

description: Specifies the banner.

$ref: #/definitions/BannerFunction

description: If true, the banner will only be added to the entry chunks.

description: Exclude all modules matching any of these conditions.

$ref: #/definitions/Rules

description: If true, banner will be placed at the end of the output.

description: Include all modules matching any of these conditions.

description: If true, banner will not be wrapped in a comment.

description: Specifies the banner.

description: Include all modules that pass test assertion.


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: import("../../declarations/plugins/DllPlugin").DllPluginOptions) => boolean;
export = check;


title: DllPluginOptions

description: Context of requests in the manifest file (defaults to the webpack context).

description: If true, only entry points will be exposed (default: true).

description: If true, manifest json file (output) will be formatted.

description: Name of the exposed dll function (external name, use value of 'output.library').

description: Absolute path to the manifest json file (output).

description: Type of the dll bundle (external type, use value of 'output.libraryTarget').


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: import("../../declarations/plugins/DllReferencePlugin").DllReferencePluginOptions) => boolean;
export = check;


description: The mappings from request to module info.

description: Module info.

description: Meta information about the module.

description: Information about the provided exports of the module.

description: List of provided exports of the module.

description: Name of the export.

description: Exports unknown/dynamic.

description: Module ID.

description: An object containing content, name and type.

description: The name where the dll is exposed (external name).

description: The type how the dll is exposed (external type).

enum: var assign this window global commonjs commonjs2 commonjs-module amd amd-require umd umd2 jsonp system

title: DllReferencePluginOptions

description: Context of requests in the manifest (or content property) as absolute path.

description: Extensions used to resolve modules in the dll bundle (only used when using 'scope').

description: An extension.

description: An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation.

description: The name where the dll is exposed (external name, defaults to manifest.name).

description: Prefix which is used for accessing the content of the dll.

description: How the dll is exposed (libraryTarget, defaults to manifest.type).

description: The way how the export of the dll bundle is used.

enum: require object

description: An extension.

description: How the dll is exposed (libraryTarget).

required: content name


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: import("../../declarations/plugins/HashedModuleIdsPlugin").HashedModuleIdsPluginOptions) => boolean;
export = check;


description: Algorithm used for generation the hash (see node.js crypto package).

tsType: typeof import('../../lib/util/Hash')

title: HashedModuleIdsPluginOptions

description: The context directory for creating names.

description: The encoding to use when generating the hash, defaults to 'base64'. All encodings from Node.JS' hash.digest are supported.

description: The prefix length of the hash digest to use, defaults to 4.

description: The hashing algorithm to use, defaults to 'md4'. All functions from Node.JS' crypto.createHash are supported.

$ref: #/definitions/HashFunction


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: import("../../declarations/plugins/IgnorePlugin").IgnorePluginOptions) => boolean;
export = check;


title: IgnorePluginOptions

description: A RegExp to test the context (directory) against.

description: A RegExp to test the request against.

description: A filter function for resource and context.

tsType: ((resource: string, context: string) => boolean)


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: import("../../declarations/plugins/JsonModulesPluginParser").JsonModulesPluginParserOptions) => boolean;
export = check;


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
"use strict";function r(t,{instancePath:e="",parentData:a,parentDataProperty:o,rootData:n=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const e=0;for(const e in t)if("parse"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(0===e&&void 0!==t.parse&&!(t.parse instanceof Function))return r.errors=[{params:{}}],!1}return r.errors=null,!0}module.exports=r,module.exports.default=r;


title: JsonModulesPluginParserOptions

description: Function that executes for a module source string and should return json-compatible data.

tsType: ((input: string) => any)


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: import("../../declarations/plugins/LoaderOptionsPlugin").LoaderOptionsPluginOptions) => boolean;
export = check;


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
const r=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(t,{instancePath:o="",parentData:a,parentDataProperty:i,rootData:n=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==t.debug){const r=0;if("boolean"!=typeof t.debug)return e.errors=[{params:{type:"boolean"}}],!1;var s=0===r}else s=!0;if(s){if(void 0!==t.minimize){const r=0;if("boolean"!=typeof t.minimize)return e.errors=[{params:{type:"boolean"}}],!1;s=0===r}else s=!0;if(s)if(void 0!==t.options){let o=t.options;const a=0;if(0===a){if(!o||"object"!=typeof o||Array.isArray(o))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==o.context){let t=o.context;if("string"!=typeof t)return e.errors=[{params:{type:"string"}}],!1;if(t.includes("!")||!0!==r.test(t))return e.errors=[{params:{}}],!1}}s=0===a}else s=!0}return e.errors=null,!0}module.exports=e,module.exports.default=e;


title: LoaderOptionsPluginOptions

description: Whether loaders should be in debug mode or not. debug will be removed as of webpack 3.

description: Where loaders can be switched to minimize mode.

description: A configuration object that can be used to configure older loaders.

description: The context that can be used to configure older loaders.


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: import("../../declarations/plugins/ProgressPlugin").ProgressPluginArgument) => boolean;
export = check;


description: Function that executes for every progress step.

tsType: ((percentage: number, msg: string, ...args: string[]) => void)

description: Options object for the ProgressPlugin.

description: Show active modules count and one active module in progress message.

description: Show dependencies count in progress message.

description: Minimum dependencies count to start with. For better progress calculation. Default: 10000.

description: Show entries count in progress message.

$ref: #/definitions/HandlerFunction

description: Show modules count in progress message.

description: Minimum modules count to start with. For better progress calculation. Default: 5000.

description: Collect percent algorithm. By default it calculates by a median from modules, entries and dependencies percent.

description: Collect profile data for progress steps. Default: false.

title: ProgressPluginArgument

$ref: #/definitions/ProgressPluginOptions


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: import("../../declarations/plugins/SourceMapDevToolPlugin").SourceMapDevToolPluginOptions) => boolean;
export = check;


description: Include source maps for modules based on their extension (defaults to .js and .css).

description: A rule condition.

$ref: #/definitions/rule

title: SourceMapDevToolPluginOptions

description: Appends the given value to the original asset. Usually the #sourceMappingURL comment. [url] is replaced with a URL to the source map file. false disables the appending.

description: Append no SourceMap comment to the bundle, but still generate SourceMaps.

tsType: ((pathData: import("../../lib/Compilation").PathData, assetInfo?: import("../../lib/Compilation").AssetInfo) => string)

description: Indicates whether column mappings should be used (defaults to true).

description: Exclude modules that match the given value from source map generation.

$ref: #/definitions/rules

description: Generator string or function to create identifiers of modules for the 'sources' array in the SourceMap used only if 'moduleFilenameTemplate' would result in a conflict.

description: Custom function generating the identifier.

tsType: Function

description: Path prefix to which the [file] placeholder is relative to.

description: Defines the output filename of the SourceMap (will be inlined if no value is provided).

description: Disable separate SourceMap file and inline SourceMap as DataUrl.

description: Include source maps for module paths that match the given value.

description: Indicates whether SourceMaps from loaders should be used (defaults to true).

description: Generator string or function to create identifiers of modules for the 'sources' array in the SourceMap.

description: Namespace prefix to allow multiple webpack roots in the devtools.

description: Omit the 'sourceContents' array from the SourceMap.

description: Provide a custom public path for the SourceMapping comment.

description: Provide a custom value for the 'sourceRoot' property in the SourceMap.


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: import("../../declarations/plugins/WatchIgnorePlugin").WatchIgnorePluginOptions) => boolean;
export = check;


title: WatchIgnorePluginOptions

description: A list of RegExps or absolute paths to directories or files that should be ignored.

description: RegExp or absolute path to directories or files that should be ignored.


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: any) => boolean;
export = check;


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: import("../../../declarations/plugins/container/ContainerPlugin").ContainerPluginOptions) => boolean;
export = check;


description: Add a container for define/require functions in the AMD module.

description: Add a comment in the UMD wrapper.

description: Append the same comment above each import style.

description: The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.

description: Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.

$ref: #/definitions/ExposesItem

$ref: #/definitions/ExposesObject

description: Advanced configuration for modules that should be exposed by this container.

description: Request to a module that should be exposed by this container.

$ref: #/definitions/ExposesItems

description: Custom chunk name for the exposed module.

description: Module that should be exposed by this container.

description: Modules that should be exposed by this container. Property names are used as public paths.

description: Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.

description: Set comment for `amd` section in UMD.

description: Set comment for `commonjs` (exports) section in UMD.

description: Set comment for `commonjs2` (module.exports) section in UMD.

description: Set comment for `root` (global variable) section in UMD.

description: Description object for all UMD variants of the library name.

description: Name of the exposed AMD library in the UMD.

description: Name of the exposed commonjs export in the UMD.

description: Name of the property exposed globally by a UMD library.

description: Part of the name of the property exposed globally by a UMD library.

description: Specify which export should be exposed as library.

description: Part of the export that should be exposed as library.

description: The name of the library (some types allow unnamed libraries too).

description: A part of the library name.

$ref: #/definitions/LibraryCustomUmdObject

description: Options for library.

$ref: #/definitions/AmdContainer

$ref: #/definitions/AuxiliaryComment

$ref: #/definitions/LibraryExport

$ref: #/definitions/LibraryName

$ref: #/definitions/LibraryType

$ref: #/definitions/UmdNamedDefine

description: Type of library (types included by default are 'var', 'module', 'assign', 'assign-properties', 'this', 'window', 'self', 'global', 'commonjs', 'commonjs2', 'commonjs-module', 'commonjs-static', 'amd', 'amd-require', 'umd', 'umd2', 'jsonp', 'system', but others might be added by plugins).

description: If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.

title: ContainerPluginOptions

$ref: #/definitions/Exposes

description: The filename for this container relative path inside the `output.path` directory.

$ref: #/definitions/LibraryOptions

description: The name for this container.

$ref: #/definitions/EntryRuntime

description: The name of the share scope which is shared with the host (defaults to 'default').

required: name exposes


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: import("../../../declarations/plugins/container/ContainerReferencePlugin").ContainerReferencePluginOptions) => boolean;
export = check;


description: Specifies the default type of externals ('amd*', 'umd*', 'system' and 'jsonp' depend on output.libraryTarget set to the same value).

description: Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.

$ref: #/definitions/RemotesItem

$ref: #/definitions/RemotesObject

description: Advanced configuration for container locations from which modules should be resolved and loaded at runtime.

$ref: #/definitions/RemotesItems

description: The name of the share scope shared with this remote.

description: Container location from which modules should be resolved and loaded at runtime.

description: Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.

$ref: #/definitions/RemotesConfig

title: ContainerReferencePluginOptions

description: The external type of the remote containers.

$ref: #/definitions/ExternalsType

$ref: #/definitions/Remotes

description: The name of the share scope shared with all remotes (defaults to 'default').

required: remoteType remotes


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
"use strict";function o(r,{instancePath:s="",parentData:m,parentDataProperty:t,rootData:e=r}={}){return"var"!==r&&"module"!==r&&"assign"!==r&&"this"!==r&&"window"!==r&&"self"!==r&&"global"!==r&&"commonjs"!==r&&"commonjs2"!==r&&"commonjs-module"!==r&&"commonjs-static"!==r&&"amd"!==r&&"amd-require"!==r&&"umd"!==r&&"umd2"!==r&&"jsonp"!==r&&"system"!==r&&"promise"!==r&&"import"!==r&&"script"!==r&&"node-commonjs"!==r?(o.errors=[{params:{}}],!1):(o.errors=null,!0)}module.exports=o,module.exports.default=o;


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: import("../../../declarations/plugins/container/ModuleFederationPlugin").ModuleFederationPluginOptions) => boolean;
export = check;


description: Add a container for define/require functions in the AMD module.

description: Add a comment in the UMD wrapper.

description: Append the same comment above each import style.

description: The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.

description: Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.

$ref: #/definitions/ExposesItem

$ref: #/definitions/ExposesObject

description: Advanced configuration for modules that should be exposed by this container.

description: Request to a module that should be exposed by this container.

$ref: #/definitions/ExposesItems

description: Custom chunk name for the exposed module.

description: Module that should be exposed by this container.

description: Modules that should be exposed by this container. Property names are used as public paths.

$ref: #/definitions/ExposesConfig

description: Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.

description: Set comment for `amd` section in UMD.

description: Set comment for `commonjs` (exports) section in UMD.

description: Set comment for `commonjs2` (module.exports) section in UMD.

description: Set comment for `root` (global variable) section in UMD.

description: Description object for all UMD variants of the library name.

description: Name of the exposed AMD library in the UMD.

description: Name of the exposed commonjs export in the UMD.

description: Name of the property exposed globally by a UMD library.

description: A part of the library name.

description: Options for library.

description: Container locations and request scopes from which modules should be resolved and loaded at runtime.

description: Container locations from which modules should be resolved and loaded at runtime.

description: Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.

$ref: #/definitions/SharedItem

$ref: #/definitions/SharedObject

description: Advanced configuration for modules that should be shared in the share scope.

description: Include the provided and fallback module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.

description: Provided module that should be provided to share scope. Also acts as fallback module if no shared module is found in share scope or version isn't valid. Defaults to the property name.

description: No provided or fallback module.

description: Package name to determine required version from description file. This is only needed when package name can't be automatically determined from request.

description: Version requirement from module in share scope.

description: No version requirement check.

description: Version as string. Can be prefixed with '^' or '~' for minimum matches. Each part of the version should be separated by a dot '.'.

description: Module is looked up under this key from the share scope.

description: Share scope name.

description: Allow only a single version of the shared module in share scope (disabled by default).

description: Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).

description: Version of the provided module. Will replace lower matching versions, but not higher.

description: Don't provide a version.

description: Version as string. Each part of the version should be separated by a dot '.'.

description: A module that should be shared in the share scope.

description: Modules that should be shared in the share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.

$ref: #/definitions/SharedConfig

title: ModuleFederationPluginOptions

description: The filename of the container as relative path inside the `output.path` directory.

description: The name of the container.

description: Share scope name used for all shared modules (defaults to 'default').

$ref: #/definitions/Shared


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
"use strict";function r(t,{instancePath:a="",parentData:e,parentDataProperty:o,rootData:n=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const a=0;for(const a in t)if("namedExports"!==a)return r.errors=[{params:{additionalProperty:a}}],!1;if(0===a&&void 0!==t.namedExports&&"boolean"!=typeof t.namedExports)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}function t(a,{instancePath:e="",parentData:o,parentDataProperty:n,rootData:s=a}={}){let p=null,i=0;return r(a,{instancePath:e,parentData:o,parentDataProperty:n,rootData:s})||(p=null===p?r.errors:p.concat(r.errors),i=p.length),t.errors=p,0===i}module.exports=t,module.exports.default=t;


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
"use strict";function r(e,{instancePath:t="",parentData:o,parentDataProperty:a,rootData:n=e}={}){if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;{const t=0;for(const t in e)if("esModule"!==t&&"exportsOnly"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(0===t){if(void 0!==e.esModule){const t=0;if("boolean"!=typeof e.esModule)return r.errors=[{params:{type:"boolean"}}],!1;var s=0===t}else s=!0;if(s)if(void 0!==e.exportsOnly){const t=0;if("boolean"!=typeof e.exportsOnly)return r.errors=[{params:{type:"boolean"}}],!1;s=0===t}else s=!0}}return r.errors=null,!0}function e(t,{instancePath:o="",parentData:a,parentDataProperty:n,rootData:s=t}={}){let p=null,l=0;return r(t,{instancePath:o,parentData:a,parentDataProperty:n,rootData:s})||(p=null===p?r.errors:p.concat(r.errors),l=p.length),e.errors=p,0===l}module.exports=e,module.exports.default=e;


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: import("../../../declarations/plugins/debug/ProfilingPlugin").ProfilingPluginOptions) => boolean;
export = check;


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
const r=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(e,{instancePath:a="",parentData:o,parentDataProperty:n,rootData:s=e}={}){if(!e||"object"!=typeof e||Array.isArray(e))return t.errors=[{params:{type:"object"}}],!1;{const a=0;for(const r in e)if("outputPath"!==r)return t.errors=[{params:{additionalProperty:r}}],!1;if(0===a&&void 0!==e.outputPath){let a=e.outputPath;if("string"!=typeof a)return t.errors=[{params:{type:"string"}}],!1;if(a.includes("!")||!0!==r.test(a))return t.errors=[{params:{}}],!1}}return t.errors=null,!0}module.exports=t,module.exports.default=t;


title: ProfilingPluginOptions

description: Path to the output file e.g. `path.resolve(__dirname, 'profiling/events.json')`. Defaults to `events.json`.


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: import("../../../declarations/plugins/ids/OccurrenceChunkIdsPlugin").OccurrenceChunkIdsPluginOptions) => boolean;
export = check;


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
"use strict";function r(t,{instancePath:e="",parentData:o,parentDataProperty:a,rootData:i=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const e=0;for(const e in t)if("prioritiseInitial"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(0===e&&void 0!==t.prioritiseInitial&&"boolean"!=typeof t.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}module.exports=r,module.exports.default=r;


title: OccurrenceChunkIdsPluginOptions

description: Prioritise initial size over total size.


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: import("../../../declarations/plugins/ids/OccurrenceModuleIdsPlugin").OccurrenceModuleIdsPluginOptions) => boolean;
export = check;


title: OccurrenceModuleIdsPluginOptions


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: import("../../../declarations/plugins/optimize/AggressiveSplittingPlugin").AggressiveSplittingPluginOptions) => boolean;
export = check;


title: AggressiveSplittingPluginOptions

description: Extra cost for each chunk (Default: 9.8kiB).

description: Extra cost multiplicator for entry chunks (Default: 10).

description: Byte, max size of per file (Default: 50kiB).

description: Byte, split point. (Default: 30kiB).


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: import("../../../declarations/plugins/optimize/LimitChunkCountPlugin").LimitChunkCountPluginOptions) => boolean;
export = check;


title: LimitChunkCountPluginOptions

description: Constant overhead for a chunk.

description: Multiplicator for initial chunks.

description: Limit the maximum number of chunks using a value greater greater than or equal to 1.


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
declare const check: (options: import("../../../declarations/plugins/optimize/MinChunkSizePlugin").MinChunkSizePluginOptions) => boolean;
export = check;


code:
/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn special-lint-fix` to update
 */
"use strict";function r(e,{instancePath:t="",parentData:n,parentDataProperty:i,rootData:o=e}={}){if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;{let t;if(void 0===e.minChunkSize&&(t="minChunkSize"))return r.errors=[{params:{missingProperty:t}}],!1;{const t=0;for(const t in e)if("chunkOverhead"!==t&&"entryChunkMultiplicator"!==t&&"minChunkSize"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(0===t){if(void 0!==e.chunkOverhead){const t=0;if("number"!=typeof e.chunkOverhead)return r.errors=[{params:{type:"number"}}],!1;var a=0===t}else a=!0;if(a){if(void 0!==e.entryChunkMultiplicator){const t=0;if("number"!=typeof e.entryChunkMultiplicator)return r.errors=[{params:{type:"number"}}],!1;a=0===t}else a=!0;if(a)if(void 0!==e.minChunkSize){const t=0;if("number"!=typeof e.minChunkSize)return r.errors=[{params:{type:"number"}}],!1;a=0===t}else a=!0}}}}return r.errors=null,!0}module.exports=r,module.exports.default=r;


title: MinChunkSizePluginOptions

description: Constant overhead for a chunk.

description: Multiplicator for initial chunks.

description: Minimum number of characters.