These types are not exported by webpack, but they are available to TypeScript consumers.
<number>[index: {string}]{AliasOptionNewRequest}
<boolean><boolean><boolean><number>Advanced options for cleaning assets.
Options object as provided by the user.
<object>require.amd
and
define.amd
. Or disable AMD support.<boolean><boolean>
|
<FileCacheOptions>
|
<MemoryCacheOptions><string>entry
option. If
output.pathinfo
is set, the included pathinfo is shortened to this directory.<string[]><string>
|
<object[]><boolean>
|
<DotenvPluginOptions><string>
|
<string[]>
|
<EntryObject>
|
<object><Experiments><string>
|
<string[]><string>
|
<RegExp>
|
<ExternalItemObjectKnown>
|
<ExternalItemObjectUnknown>
|
<object>
|
<object>
|
<ExternalItem[]>output.libraryTarget
.<ExternalsPresets><RegExp>
|
<object>
|
<object[]><Loader><ModuleOptions>NormalModuleFactory
).<string><NodeOptions><Output>output
options tell webpack how to write the compiled files to disk.<number><PerformanceOptions><WebpackPluginInstance>
|
<object>
|
<null>
|
<undefined[]><boolean><string><string><string>recordsPath
is used for
recordsInputPath
and
recordsOutputPath
if they left undefined.<ResolveOptions><ResolveOptions><SnapshotOptionsWebpackOptions><boolean>
|
<StatsOptions><string>
|
<string[]><boolean><boolean><WatchOptions>Options for consuming shared modules.
<Consumes><string>exposes{Exposes} 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.filename<string>The filename for this container relative path inside theoutput.pathdirectory.library<LibraryOptions>Options for library.name<string>The name for this container.runtime<string>The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.shareScope<string>The name of the share scope which is shared with the host (defaults to 'default').
<Remotes><ExternalsType><string>Generator options for css modules.
Parser options for css modules.
exportType{"link"|"text"|"css-style-sheet"|"style"} Configure how CSS content is exported as default.import<boolean>Enable/disable@importat-rules handling.namedExports<boolean>Use ES modules named export for css exports.url<boolean>Enable/disableurl()/image-set()/src()/image()functions handling.
<string><boolean><boolean><string><string><string>Options for Dotenv plugin.
<string><string>
|
<string[]><string[]>No generator options are supported for this module type.
No parser options are supported for this module type.
[index: {string}]<string>|<string[]>
<boolean>[index: {string}]<any>
Generator options for html modules.
<boolean>.html
output file alongside the module's JavaScript export. When unset, extraction defaults to
true
for HTML modules used as compilation entries (HTML entry points) and
false
for HTML modules imported from JavaScript. Filenames follow
output.htmlFilename
/
output.htmlChunkFilename
.Options for building http resources.
<string>
|
<RegExp>
|
<object[]><string><boolean><string><string><boolean>Parser options for javascript modules.
<object>require.amd
and
define.amd
. Or disable AMD support.<boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean><string><boolean><boolean><boolean><boolean><NodeOptions><object><boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean><string><boolean><boolean>
|
<string[]><boolean><boolean><RegExp>Generator options for json modules.
<boolean>JSON.parse
when the JSON string is longer than 20 characters.Parser options for JSON modules.
<string><number><boolean><boolean><boolean><boolean><number><boolean><string><number><string><string><boolean><boolean><object[]><object[]><boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean><object[]><boolean><string><number><string><number><boolean><boolean><object[]>Options for the default backend.
<string>Options for compiling entrypoints and import()s only when they are accessed.
<object>
|
<object>
|
<LazyCompilationDefaultBackendOptions><boolean><boolean>[index: {string}]<any>
<string><boolean><boolean><string><string><string><boolean><string>manifest.json
inside the 'output.path' directory.<object><object><string><object><number>infrastructureLogging{InfrastructureLogging} infrastructure logging options
Options object for node compatibility features.
<boolean><object><string><string[]><string><string>[index: {string}]<any>
Configuration object for web performance recommendations.
<object><number><number><string>path.resolve(__dirname, 'profiling/events.json')
. Defaults to
events.json
.Options object for the ProgressPlugin.
<boolean><boolean><number><boolean><object><boolean><number><null>provides{Provides} Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.shareScope<string>Share scope name used for all provided modules (defaults to 'default').
Returns location of targetPath relative to rootPath.
<boolean><string><HashFunction>Options for shared modules.
Options affecting how file system snapshots are created and validated.
<object><object><string>
|
<RegExp[]><string>
|
<RegExp[]><object><object><object><string>
|
<RegExp[]>append{string|false|TemplatePathFn< PathData >|null} 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.columns<boolean>Indicates whether column mappings should be used (defaults to true).debugIds<boolean>Emit debug IDs into source and SourceMap.exclude<string>|<RegExp>|<Rule[]>|<object>Exclude modules that match the given value from source map generation.fallbackModuleFilenameTemplate<string>|<object>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.fileContext<string>Path prefix to which the [file] placeholder is relative to.filename<string>|<null>Defines the output filename of the SourceMap (will be inlined if no value is provided).ignoreList<string>|<RegExp>|<Rule[]>|<object>Decide whether to ignore source files that match the specified value in the SourceMap.include<string>|<RegExp>|<Rule[]>|<object>Include source maps for module paths that match the given value.module<boolean>Indicates whether SourceMaps from loaders should be used (defaults to true).moduleFilenameTemplate<string>|<object>Generator string or function to create identifiers of modules for the 'sources' array in the SourceMap.namespace<string>Namespace prefix to allow multiple webpack roots in the devtools.noSources<boolean>Omit the 'sourceContents' array from the SourceMap.publicPath<string>Provide a custom public path for the SourceMapping comment.sourceRoot<string>Provide a custom value for the 'sourceRoot' property in the SourceMap.test<string>|<RegExp>|<Rule[]>|<object>Include source maps for modules based on their extension (defaults to .js and .css).
Returns location of targetPath relative to rootPath.
Returns location of targetPath relative to rootPath.
<string><string><string[]>Options for building virtual resources.
<string>
|
<RegExp[]>Options for the watcher.
<number><boolean><string>
|
<RegExp>
|
<string[]><boolean><string>
|
<object[]>Normalized webpack options object.
<object>require.amd
and
define.amd
. Or disable AMD support.<boolean><CacheOptionsNormalized><string>entry
option. If
output.pathinfo
is set, the included pathinfo is shortened to this directory.<string[]><object><string>
|
<object[]><boolean>
|
<DotenvPluginOptions><EntryNormalized><Externals>output.libraryTarget
.<ExternalsPresets><object[]><Loader><ModuleOptionsNormalized>NormalModuleFactory
).<string><NodeWebpackOptions>output
options tell webpack how to write the compiled files to disk.<number><PerformanceOptions><WebpackPluginInstance>
|
<object[]><boolean><string><string><ResolveOptions><ResolveOptions><SnapshotOptionsWebpackOptions><StatsValue><string>
|
<string[]><boolean><boolean><WatchOptions><object><string><string[]><string><string><string><string><string[]><string><string><object><NodeOptions><StreamOptions>
|
<object><string>infrastructureLogging{InfrastructureLoggingNormalizedWithDefaults}
target{NonNullable< undefined|string|false|string[] >}
output{OutputNormalizedWithDefaults}
optimization{OptimizationNormalizedWithDefaults}
devtool{NonNullable< undefined|string|false|object[] >}
stats{NonNullable< StatsValue >}
node{NonNullable< NodeWebpackOptions >}
profile{NonNullable< undefined|boolean >}
<number><SnapshotNormalizedWithDefaults><ExternalsPresetsNormalizedWithDefaults>externalsType{NonNullable< undefined|"import"|"var"|"module"|"assign"|"this"|"window"|"self"|"global"|"commonjs"|"commonjs2"|"commonjs-module"|"commonjs-static"|"amd"|"amd-require"|"umd"|"umd2"|"jsonp"|"system"|"promise"|"module-import"|"script"|"node-commonjs"|"asset"|"asset-url"|"css-import"|"css-url" >}
watch{NonNullable< undefined|boolean >}
performance{NonNullable< undefined|false|PerformanceOptions >}
recordsInputPath{NonNullable< undefined|string|false >}
recordsOutputPath{NonNullable< undefined|string|false >}
dotenv{NonNullable< undefined|boolean|DotenvPluginOptions >}
<StreamOptions>
|
<object>