These types are not exported by webpack, but they are available to TypeScript consumers.
<number>[index: {string}]{AliasOptionNewRequest}
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><string>
|
<string[]><string>
|
<RegExp>
|
<ExternalItemObjectKnown>
|
<ExternalItemObjectUnknown>
|
<object>
|
<object>
|
<ExternalItem[]>output.libraryTarget
.<ExternalsPresets><RegExp>
|
<object>
|
<object[]><Loader><ModuleOptions>NormalModuleFactory
).<string><NodeOptions>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{Consumes} Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.shareScope<string>Share scope name used for all consumed modules (defaults to 'default').
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{Remotes} 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.remoteType<ExternalsType>The external type of the remote containers.shareScope<string>The name of the share scope shared with all remotes (defaults to 'default').
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>
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><string><boolean><boolean><boolean><boolean><NodeOptions><object><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><null><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').
<boolean><string>Options for shared modules.
shared{Shared} Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.shareScope<string>Share scope name used for all shared modules (defaults to 'default').
Options affecting how file system snapshots are created and validated.
<object><object><string>
|
<RegExp[]><string>
|
<RegExp[]><object><object><object><string>
|
<RegExp[]><boolean><boolean><string><boolean><string><boolean><string><string><boolean><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><Node>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>content{DllReferencePluginOptionsContent} The mappings from request to module info.context<string>Context of requests in the manifest (or content property) as absolute path.extensions<string[]>Extensions used to resolve modules in the dll bundle (only used when using 'scope').name<string>The name where the dll is exposed (external name).scope<string>Prefix which is used for accessing the content of the dll.sourceType{"var"|"assign"|"this"|"window"|"global"|"commonjs"|"commonjs2"|"commonjs-module"|"amd"|"amd-require"|"umd"|"umd2"|"jsonp"|"system"} How the dll is exposed (libraryTarget).type{"object"|"require"} The way how the export of the dll bundle is used.
<object><StreamOptions>
|
<object><string>infrastructureLogging{InfrastructureLoggingNormalizedWithDefaults}
target{NonNullable<undefined|string|false|string[]>}
output{OutputNormalizedWithDefaults}
optimization{OptimizationNormalizedWithDefaults}
devtool{NonNullable<undefined|string|false|object[]>}
stats{NonNullable}
node{NonNullable}
profile{NonNullable<undefined|boolean>}
<number>snapshot{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"|"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>}
<null>
|
<ObjectEncodingOptions>
|
<object><StreamOptions>
|
<object>