- AppendOnlyStackedSet
- AssetBytesGenerator
- AssetBytesParser
- AssetGenerator
- AssetParser
- AssetSourceGenerator
- AssetSourceParser
- AsyncQueue
- AsyncWebAssemblyParser
- BasicEvaluatedExpression
- ByTypeGenerator
- CacheFacade
- ChunkTemplate
- ConstDependencyTemplate
- ContextDependency
- ContextElementDependency
- ContextModuleFactory
- CssGenerator
- CssModule
- CssParser
- DependenciesBlock
- DependencyTemplate
- DependencyTemplates
- EntryDependency
- ExportInfo
- ExportMode
- ExportsInfo
- FileSystemInfo
- HarmonyExportImportedSpecifierDependency
- HarmonyImportDependencyTemplate
- HarmonyStarExportsList
- Hash
- HelperRuntimeModule
- ItemCacheFacade
- JavascriptGenerator
- JsonData
- JsonGenerator
- JsonParser
- LocalModule
- MainTemplate
- ModuleExternalInitFragment
- ModuleProfile
- ModuleTemplate
- MultiWatching
- NormalModuleFactory
- NormalReexportItem
- NullDependencyTemplate
- OptionsApply
- Profiler
- Replacement
- RequestShortener
- ResolverFactory
- RestoreProvidedData
- RuntimeTemplate
- RuntimeValue
- Serializer
- SerializerMiddleware
- Snapshot
- SortableSet
- StackedMap
- StatsFactory
- StatsPrinter
- VariableInfo
- WeakTupleMap
- WebAssemblyParser
- WebpackLogger
<Configuration><Compiler>
|
<null><Configuration><Compiler><MultiConfiguration><MultiCompiler>
|
<null><MultiConfiguration><MultiCompiler><AbortSignal>[index: {string}]<any>
<object><number>[index: {string}]{AliasOptionNewRequest}
<AssetInfo><string><string><object>sourceType{"css-url"}
Options object for data url generation.
encoding{false|"base64"} Asset encoding (defaults to base64).mimetype<string>Asset mimetype (getting from file extension by default).
Generator options for asset/inline modules.
Options object for DataUrl condition.
<number>Parser options for asset modules.
<object>Generator options for asset/resource modules.
<boolean><boolean><boolean><string><string><string><string><string><boolean><boolean><string><string><null><string[]><boolean><string[]><string[]><string[]><string><string[]><string><string[]><number>buffer{Buffer} bufferhash{string|Buffer[]} hash maps{Map<string, BufferEntry>} mapssize<number>sizesource<boolean>source
<ChunkGraph><ModuleGraph><string><object><boolean><object><string><string><number><number><number><number><boolean><boolean>[index: {string}]<undefined>
<WebpackError>
|
<null><null><WebpackError>
|
<null>call{CallExpression}calleeName<string>getCalleeMembers<object>getMemberRanges<object>getMembers<object>getMembersOptionals<object>name<string>rootInfo<string>| [<VariableInfo>](/VariableInfo.html) type{"call"}
[index: {string}]{ChunkId[]}
[index: {string}]{ChunkChildIdsByOrdersMap}
chunks{Set} onChunks<Chunk[]>
<ChunkGroup><string><ChunkGraph><CodeGenerationResults><ModuleGraph><RuntimeTemplate>
](
contentHash{Record<ChunkId, Record<string, string>>}hash{Record<ChunkId, string>}name{Record<ChunkId, string>}
[index: {string}]<string>
-
[index: {number}]{IdToHashMap} -
[index: {string}]{IdToHashMap}
-
[index: {number}]{ChunkId[]} -
[index: {string}]{ChunkId[]}
-
[index: {number}]{ModuleId[]} -
[index: {string}]{ModuleId[]}
-
[index: {number}]{ModuleId[]} -
[index: {string}]{ModuleId[]}
hash{chunkModuleHashMap}id{ChunkModuleIdMapEs5Alias_1}
contentHash{Record<string, string>}contentHashWithLength{Record<string, object>}hash<string>hashWithLength<object>id<string>|<number>name<string>
<Chunk><ChunkGraph><CodeGenerationResults><Source><RuntimeTemplate>
](
<string><Chunk><ChunkGraph><CodeGenerationResults><DependencyTemplates>
](
<ModuleGraph><RuntimeTemplate>
](
<boolean>Advanced options for cleaning assets.
keep{SyncBailHook<Tuple, boolean|void>} when returning true the file/directory will be kept during cleaning, returning false will clean it and ignore the following plugins and config
<ChunkGraph><CodeGenerationResults><Compilation><ConcatenationScope><DependencyTemplates>
](
<ModuleGraph><RuntimeTemplate>
](
data{CodeGenerationResultData} the resulting data for all source typeshash<string>a hash of the code generation result (will be automatically calculated from sources and runtimeRequirements if not provided)runtimeRequirements{ReadonlySet|null} the runtime requirements sources{Map<string, Source>} the resulting sources for all source types
a{T}b{T}- Returns: {-1|0|1}
declaration{CompatibilitySettingsDeclaration}name<string>
loc{DependencyLocation}range{Tuple<number, number>}updated<boolean>
[index: {string}]<Source>
renderModuleContent{SyncWaterfallHook<Tuple<Source, Module, WebAssemblyRenderContext>, Source>}
chunkHash{SyncHook<Tuple<Chunk, Hash, ChunkHashContext>>}renderModulePackage{SyncWaterfallHook<Tuple<Source, Module, ChunkRenderContextCssModulesPlugin>, Source>}
chunkHash{SyncHook<Tuple<Chunk, Hash, ChunkHashContext>>}embedInRuntimeBailout{SyncBailHook<Tuple<Module, RenderContextJavascriptModulesPlugin>, string|void>}inlineInRuntimeBailout{SyncBailHook<Tuple<Module, Partial>, string|void>} render{SyncWaterfallHook<Tuple<Source, RenderContextJavascriptModulesPlugin>, Source>}renderChunk{SyncWaterfallHook<Tuple<Source, RenderContextJavascriptModulesPlugin>, Source>}renderContent{SyncWaterfallHook<Tuple<Source, RenderContextJavascriptModulesPlugin>, Source>}renderMain{SyncWaterfallHook<Tuple<Source, RenderContextJavascriptModulesPlugin>, Source>}renderModuleContainer{SyncWaterfallHook<Tuple<Source, Module, ModuleRenderContext>, Source>}renderModuleContent{SyncWaterfallHook<Tuple<Source, Module, ModuleRenderContext>, Source>}renderModulePackage{SyncWaterfallHook<Tuple<Source, Module, ModuleRenderContext>, Source>}renderRequire{SyncWaterfallHook<Tuple<string, RenderBootstrapContext>, string>}renderStartup{SyncWaterfallHook<Tuple<Source, Module, StartupRenderContext>, Source>}strictRuntimeBailout{SyncBailHook<Tuple, string|void>} useSourceMap{SyncBailHook<Tuple<Chunk, RenderContextJavascriptModulesPlugin>, boolean|void>}
addContainerEntryDependency{SyncHook} addFederationRuntimeDependency{SyncHook}
updateHash{SyncBailHook<Tuple<Buffer[], string>, string|void>}
contextModuleFactory[<ContextModuleFactory>](/ContextModuleFactory.html) normalModuleFactory[<NormalModuleFactory>](/NormalModuleFactory.html)
ast{Program}chunkInitFragments{InitFragment[]} concatenationScope<ConcatenationScope>exportMap{Map<string, string>}globalScope{Scope<Variable, Reference>} index<number>internalNames{Map<string, string>}internalSource<Source>interopDefaultAccessName<string>runtime namespace object that detects "__esModule"interopDefaultAccessUsed<boolean>runtime namespace object that detects "__esModule"interopNamespaceObject2Name<string>"default-only" namespaceinteropNamespaceObject2Used<boolean>"default-only" namespaceinteropNamespaceObjectName<string>"default-with-named" namespaceinteropNamespaceObjectUsed<boolean>"default-with-named" namespacemodule<Module>moduleScope{Scope<Variable, Reference>} namespaceExportSymbol<string>namespaceObjectName<string>rawExportMap{Map<string, string>}runtimeRequirements{ReadonlySet} source<ReplaceSource>type{"concatenated"}
<ChunkGraph><ModuleGraph>new Constructor(...params): any<any[]><any>Advanced configuration for modules that should be consumed from share scope.
<boolean><string><string><string><string><string><boolean><boolean>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').
Modules that should be consumed from 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.
[index: {string}]<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{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').
resolved{ResolvedContextFileSystemInfoEntry}safeTime<number>symlinks{Set} timestampHash<string>
<ResolveOptions><string>
|
<string[]><string><string><string><ContextDependency[]>
](
<string><ResolveOptions><boolean>Generator options for css modules.
createStylesheet{SyncWaterfallHook<Tuple<string, Chunk>, string>}linkPrefetch{SyncWaterfallHook<Tuple<string, Chunk>, string>}linkPreload{SyncWaterfallHook<Tuple<string, Chunk>, string>}
Generator options for css/module modules.
<boolean><object><boolean><string><number><string><Hash>
](
<string>Parser options for css/module modules.
<boolean>@keyframes
.<boolean>@container
names.<boolean><boolean><boolean>@function
names.<boolean><boolean>@import
at-rules handling.<boolean><boolean>url()
/
image-set()
/
src()
/
image()
functions handling.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.
definitions{SyncWaterfallHook<Tuple<Record<string, CodeValue>>, Record<string, CodeValue>>}
[index: {string}]{CodeValue}
<AsyncDependenciesBlock[]><Dependency[]>new DependencyConstructor(...args): Dependency<any[]><Dependency><ChunkGraph><CodeGenerationResults><ConcatenationScope><DependencyTemplates>
](
<Module><ModuleGraph><RuntimeTemplate>
](
Helper function for joining two ranges into a single range. This is useful when working with AST nodes, as it allows you to combine the ranges of child nodes to create the range of the parent node.
<string><boolean><boolean><number><number><object><object><object><object><object><object><object><object><string><string>- {IteratorObject}
<string><boolean><boolean><string><string><string>The mappings from request to module info.
[index: {string}]<object>
An object containing content, name and type.
content{DllReferencePluginOptionsContent} The mappings from request to module info.name<string>The name where the dll is exposed (external name).type{"global"|"commonjs"|"jsonp"|"this"|"var"|"assign"|"window"|"commonjs2"|"commonjs-module"|"amd"|"amd-require"|"umd"|"umd2"|"system"} The type how the dll is exposed (external type).
Options for Dotenv plugin.
<string><string>
|
<string[]><string[]>attributes{Record<string, string>}compiler<string>dependency<string>descriptionData{JsonObjectTypes}issuer<string>issuerLayer<string>mimetype<string>realResource<string>resource<string>resourceFragment<string>resourceQuery<string>scheme<string>
type{EffectUseType}value<object>
No generator options are supported for this module type.
No parser options are supported for this module type.
<object><Dependency[]><Dependency[]><EntryOptions>An object with entry point description.
<boolean><string><string><string>
|
<string[]><LibraryOptions><string><string>An object with entry point description.
<boolean><string><string><string[]><string[]><LibraryOptions><string><string>Multiple entry bundles are created. The key is the entry name. The value is an entry description object.
[index: {string}]{EntryDescriptionNormalized}
[index: {string}]{EnumValue}
The abilities of the environment where the webpack generated code should run.
<boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean>import.meta.dirname
and
import.meta.filename
.<boolean><boolean><boolean>node:
prefix for Node.js core modules.<boolean><boolean><object>codeGenerationResult{CodeGenerationResult}module<Module>moduleObject{ExecuteModuleObject}
__webpack_require__{WebpackRequire}assets{Map<string, object>}chunk<Chunk>chunkGraph<ChunkGraph>
<EntryOptions>assets{Map<string, object>}buildDependencies{LazySet} cacheable<boolean>contextDependencies{LazySet} exports<any>fileDependencies{LazySet} missingDependencies{LazySet}
Enables/Disables experiments (experimental features with relax SemVer compatibility).
<boolean><boolean><boolean><boolean><boolean><boolean>Enables/Disables experiments (experimental features with relax SemVer compatibility).
[index: {string}]<any>
<string>
|
<RegExp>
|
<object[]><boolean><boolean><boolean>Enables/Disables experiments (experimental features with relax SemVer compatibility).
buildHttp{HttpUriOptions} Build http(s): urls using a lockfile and resource content cache.css<boolean>Enable css support.deferImport<boolean>Enable experimental tc39 proposal https://github.com/tc39/proposal-defer-import-eval. This allows to defer execution of a module until it's first use.lazyCompilation{false|LazyCompilationOptions} Compile entrypoints and import()s only when they are accessed.
<boolean><string[]>
|
<null><string><boolean><string><number><boolean><boolean><Module[]><number><boolean>Advanced configuration for modules that should be exposed by this container.
<string>
|
<string[]><string>Modules that should be exposed by this container. Property names are used as public paths.
[index: {string}]<string>|<string[]>
<string>
|
<string[]><string>[index: {string}]<string>|<string[]>
chunkCondition{SyncBailHook<Tuple<Chunk, Compilation>, boolean>}
<boolean><string><string><boolean><number><string><boolean><string><boolean><string><boolean><Module><string><boolean>Enable presets of externals for specific targets.
<boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean><string><ModuleProfile>
](
<Dependency[]><ModuleFactory><boolean><boolean><boolean>lstat{LStatTypes} lstat methodreaddir{ReaddirTypes} readdir methodreadFile{ReadFileTypes} read file methodreadJson<object>read json methodreadlink{ReadlinkTypes} read link methodrealpath{RealPathTypes} realpath methodstat{StatTypes} stat method
[index: {string}]<Argument>
[index: {string}]<string>
<ChunkGraph><CodeGenerationResults><ConcatenationScope><DependencyTemplates>
](
<object><ModuleGraph><RuntimeTemplate>
](
<string>[index: {string}]<any>
Specify options for each generator.
[index: {string}]<object>
result{T}callback<object>- Returns: {void}
<boolean><boolean><string><Dependency[]><ModuleFactory><boolean>attributes{Record<string, string>}await<boolean>ids<string[]>name<string>phase{ImportPhaseType}source<string>sourceOrder<number>
guards{AppendOnlyStackedSet}
<object><string><number><string><Hash>
](
hotAcceptCallback{SyncBailHook<Tuple<ClassExpression|Identifier|SimpleLiteral|RegExpLiteral|BigIntLiteral|ArrayExpression|ArrowFunctionExpression|AssignmentExpression|AwaitExpression|BinaryExpression|SimpleCallExpression|NewExpression|ChainExpression|ConditionalExpression|FunctionExpression|ImportExpression|LogicalExpression|MemberExpression|MetaProperty|ObjectExpression|SequenceExpression|TaggedTemplateExpression|TemplateLiteral|ThisExpression|UnaryExpression|UpdateExpression|YieldExpression|SpreadElement, string[]>, void>}hotAcceptWithoutCallback{SyncBailHook<Tuple<CallExpression, string[]>, void>}
These properties are added by the HotModuleReplacementPlugin
<boolean>Options for building http resources.
<string>
|
<RegExp>
|
<object[]><string><boolean><string><string><boolean>attributes{Record<string, string>}externalType{"module"|"import"}
expression{ImportExpressionJavascriptParser}references{string[][]}
Options for infrastructure level logging.
<boolean><boolean><Console><WritableStream>
|
<object>Session{Session}
<AssetInfo><string><Date><number><Date><number><number><number><Date><number><number><number><number><object><object><object><object><object><object><object><number><Date><number><number><number><number><number><Date><Date><Date><object><object><object><object><object><object><object><Date>[index: {string}]<string>|<string[]>
- {Iterator<T, TReturn, TNext>}.{Disposable}
- {SetIterator}
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><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.[index: {string}]<string>|<number>|<boolean>|<null>|<undefined>
[index: {string}]<string>|<number>|<boolean>|<null>|<undefined>
Parser options for JSON modules.
linkPrefetch{SyncWaterfallHook<Tuple<string, Chunk>, string>}linkPreload{SyncWaterfallHook<Tuple<string, Chunk>, string>}
<string>
|
<string[]><string>
|
<string[]><boolean><string>
|
<string[]><boolean><boolean><boolean><boolean><boolean><string>
|
<string[]><number><string><boolean><AssetInfo><boolean><boolean><string><string><string><string><boolean><JsonData>
](
<string><string><boolean><boolean><string><Snapshot>
](
<null>
using in ContextModule<boolean><boolean><boolean><boolean><boolean><boolean><string[]><boolean>noResolve{SyncHook<Tuple<ResolveRequest, Error>>} no resolve hookresolve{AsyncSeriesBailHook<Tuple<ResolveRequest, ResolveContext>, ResolveRequest|null>} resolve hookresolveStep{SyncHook<Tuple<AsyncSeriesBailHook<Tuple<ResolveRequest, ResolveContext>, ResolveRequest|null, UnsetAdditionalOptions>, ResolveRequest>>} resolve step hookresult{AsyncSeriesHook<Tuple<ResolveRequest, ResolveContext>>} result hook
harmonyNamedExports{Set} harmonyStarExports[<HarmonyStarExportsList>](/HarmonyStarExportsList.html) lastHarmonyImportOrder<number>localModules[<LocalModule[]>](/LocalModule.html)
deferredImportVarMap{Map<Module, string>}importVarMap{Map<Module, string>}
<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><RequestShortener>
](
<boolean><object[]>aggressiveSplits{SplitData[]}chunkHashes{ChunkHashes}chunkModuleHashes{ChunkModuleHashes}chunkModuleIds{ChunkModuleIds}chunkRuntime{ChunkRuntime}chunks{RecordsChunks}fullHashChunkModuleHashes{FullHashChunkModuleHashes}hash<string>hotIndex<number>modules{RecordsModules}
<string[]><boolean><string[]><boolean><boolean><number><AssetInfo><boolean><string><StatsAsset[]><number><string><string[]><boolean><string[]><number><string><string[]><boolean><StatsModule[]><string[]><StatsChunkOrigin[]><string><boolean><boolean><string[]><number><object[]><number><object[]><number><number><number><boolean><StatsAsset[]><number><StatsCompilation[]><StatsChunk[]><any><StatsError[]><number><number><number><number><number><string><StatsModule[]><string><boolean><string><string><number><string><StatsError[]><number>cause{KnownStatsError}chunkEntry<boolean>chunkId<string>|<number>chunkInitial<boolean>chunkName<string>compilerPath<string>details<string>errors{KnownStatsError[]}file<string>loc<string>message<string>moduleId<string>|<number>moduleIdentifier<string>moduleName<string>moduleTrace<StatsModuleTraceItem[]>stack<string>
<object><object><Compilation><object><string><any[]><StatsLoggingEntry[]><string><number><string[]><string><string[]><boolean><boolean><boolean><boolean><boolean><boolean><number><boolean><number><string><number><number><StatsModuleIssuer[]>
|
<null><StatsModule[]><string><string><string[]><boolean><boolean><number><number><StatsProfile><string[]>
|
<null><StatsModuleReason[]><number><string><boolean>
|
<string[]>
|
<null><number><boolean><string><StatsAsset><StatsChunk><StatsChunkGroup><string><StatsCompilation><StatsError><StatsLogging><StatsModule><StatsModuleIssuer><StatsModuleReason><StatsModuleTraceDependency><StatsModuleTraceItem><StatsProfile><string>factoryMeta{FactoryMeta} factory metageneratorOptions{GeneratorOptions}parserOptions{ParserOptions}resolveOptions<ResolveOptions>resolve options
Options for the default backend.
<string>Options for compiling entrypoints and import()s only when they are accessed.
[index: {string}]<any>
<string><boolean><boolean><string><string><string>Set explicit comments for commonjs, commonjs2, amd, and root.
Description object for all UMD variants of the library name.
<string><string><string>
|
<string[]>Custom values available in the loader context.
[index: {string}]<any>
[index: {string}]<any>
These properties are added by the LoaderPlugin
Call Signature
Call Signature
<string>Resolves the given request to a module, applies all configured loaders and calls back with the generated source, the sourceMap and the module instance (usually an instance of NormalModule). Use this function if you need to know the source code of another module to generate the result.
The properties are added by https://github.com/webpack/loader-runner
<object><string><string><any><number><object[]><string><string><string><string><string><string><string><string><string><string>Add a directory as dependency of the loader result.
<string>Adds a file as dependency of the loader result in order to make them watchable. For example, html-loader uses this technique as it finds src and src-set attributes. Then, it sets the url's for those attributes as dependencies of the html file that is parsed.
<string><object>Make this loader async.
<boolean>Make this loader result cacheable. By default it's cacheable. A cacheable loader must have a deterministic result, when inputs and dependencies haven't changed. This means the loader shouldn't have other dependencies than specified with this.addDependency. Most loaders are deterministic and cacheable.
Remove all dependencies of the loader result. Even initial dependencies and these of other loaders.
<string>alias of addDependency Adds a file as dependency of the loader result in order to make them watchable. For example, html-loader uses this technique as it finds src and src-set attributes. Then, it sets the url's for those attributes as dependencies of the html file that is parsed.
<string[]><string[]><string[]>createScript{SyncWaterfallHook<Tuple<string, Chunk>, string>}
<any[]><number><string[]>path{PathLikeFs}callback<object>- Returns: {void}
path{PathLikeFs}options<object>|<undefined>callback<object>- Returns: {void}
path{PathLikeFs}options<undefined>callback<object>- Returns: {void}
path{PathLikeFs}options<undefined>- Returns: {IStats}
path{PathLikeFs}options<object>- Returns:
<undefined>
path{PathLikeFs}options<object>- Returns:
<undefined>
path{PathLikeFs}options<object>- Returns: {IStats}
path{PathLikeFs}options<object>- Returns: {IBigIntStats}
path{PathLikeFs}options<object>- Returns: {IStats|IBigIntStats}
path{PathLikeFs}options{StatSyncOptions}- Returns:
<undefined>
path{PathLikeTypes}callback<object>- Returns: {void}
path{PathLikeTypes}options<object>|<undefined>callback<object>- Returns: {void}
path{PathLikeTypes}options<undefined>callback<object>- Returns: {void}
<Chunk><ChunkGraph><CodeGenerationResults><DependencyTemplates>
](
<string><ModuleGraph><RuntimeTemplate>
](
<boolean>Describes a manifest entrypoint.
<string[]><string[]>Describes a manifest asset that links the emitted path to the producing asset.
The manifest object.
[index: {string}]<any>
assets{Record<string, ManifestItem>} Contains the names of assets.entrypoints{Record<string, ManifestEntrypoint>} Contains the names of entrypoints.
<boolean><string>manifest.json
inside the 'output.path' directory.<object><object><string><object><number>file{PathLikeFs}options<string>|<number>|<object>|<null>|<undefined>callback<object>- Returns: {void}
file{PathLikeFs}options<string>|<number>|<null>|<undefined>callback<object>- Returns: {void}
file{PathLikeFs}callback<object>- Returns: {void}
path{PathLikeFs}options<object>- Returns:
<string>|<undefined>
path{PathLikeFs}options<string>|<number>|<null>- Returns:
<string>|<undefined>
inheritance{Tuple<CssLayer, Supports, Media>[]} - The inheritance chainsource<CachedSource>- The cached sourceundoPath<string>- The undo path to the CSS file
<string><Dependency[]><ResolveOptions><string><string>output.path
directory.<LibraryOptions><string><string><string><string><string><string><string><string><string><string><string><string><string><string><string><string>buildInfo{BuildInfo}memCache{WeakTupleMap<any[], any>}references{WeakMap<Dependency, Module>}
Options affecting the normal modules (NormalModuleFactory).
<"...">
|
<RuleSetRule>
|
<null>
|
<undefined[]><"...">
|
<RuleSetRule>
|
<null>
|
<undefined[]><boolean><boolean><boolean><boolean><string[]><Chunk><ChunkGraph><CodeGenerationResults><DependencyTemplates>
](
<boolean><boolean>factory
is set to false<ModuleGraph><boolean><RuntimeTemplate>
](
<boolean><boolean><object><string><object><ResolveOptions><boolean><string>javascript[<ModuleTemplate>](/ModuleTemplate.html)
<string><Compilation><FileSystemInfo>
](
[index: {string}]<string>
infrastructureLogging{InfrastructureLogging} infrastructure logging options
Options object for node compatibility features.
<boolean>[index: {string}]{VirtualModule}
beforeLoaders{SyncHook<Tuple<LoaderItem[], NormalModule, AnyLoaderContext>>}beforeParse{SyncHook<Tuple>} beforeSnapshot{SyncHook<Tuple>} loader{SyncHook<Tuple<AnyLoaderContext, NormalModule>>}needBuild{AsyncSeriesBailHook<Tuple<NormalModule, NeedBuildContext>, boolean>}processResult{SyncWaterfallHook<Tuple<Tuple<string|Buffer, string|RawSourceMap|undefined, PreparsedAst|undefined>, NormalModule>, Tuple<string|Buffer , string|RawSourceMap|undefined, PreparsedAst|undefined>>} readResource{HookMap<AsyncSeriesBailHook<Tuple, string|Buffer |null, UnsetAdditionalOptions>>} readResourceForScheme{HookMap<FakeHook<AsyncSeriesBailHook<Tuple<string, NormalModule>, string|Buffer|null, UnsetAdditionalOptions>>>}
<string><boolean><Generator><string><string><string><string><ResolveOptions><string><string><string>These properties are added by the NormalModule
<Compilation><Compiler><NormalModule><string><number><string><string><boolean><object><number><boolean><string><Error><Error><string><WebpackLogger>
](
Call Signature
Call Signature
schema{Schema}- Returns: {OptionsType}
options{ResolveOptionsWithDependencyType}- Returns:
<object>
[index: {string}]<any>
<null><boolean><boolean><number>file{PathLikeFs}flags<string>|<number>|<undefined>mode<string>|<number>|<null>|<undefined>callback<object>- Returns: {void}
file{PathLikeFs}flags<string>|<number>|<undefined>callback<object>- Returns: {void}
file{PathLikeFs}callback<object>- Returns: {void}
Enables/Disables integrated optimizations.
<boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean><"...">
|
<WebpackPluginInstance>
|
<object>
|
<null>
|
<undefined[]><string><boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean>Enables/Disables integrated optimizations.
<boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean><boolean><"...">
|
<WebpackPluginInstance>
|
<object[]><string><boolean><boolean><boolean><boolean><boolean><boolean><object><boolean><boolean>Options object for describing behavior of a cache group selecting modules that should be cached together.
<string><boolean><string><number><number><number><number><boolean><boolean>Options object for splitting chunks into smaller chunks.
<string><object><string[]><object><boolean><number><number><number><boolean><object><string><string[]><string><string>Options affecting the output of the compilation. output options tell webpack how to write the compiled files to disk.
<string><boolean><string><boolean><string><string><string><number><boolean><boolean>output.devtoolModuleFilenameTemplate
, but used in the case of duplicate module identifiers.<string>output.library
if not set. It's useful for avoiding runtime collisions in sourcemaps from multiple webpack projects built as libraries.<string[]><string[]><string[]><string><string><number><string><Hash>
](
<string><string><string><string><boolean><boolean><string><string><string>
|
<string[]>
|
<LibraryOptions><string>
|
<string[]><string><boolean><string><boolean><string><string><boolean><boolean><string>
|
<TrustedTypes><boolean>output.libraryTarget
is set to umd and
output.library
is set, setting this to true will name the AMD module.<string><string><string><string><string><string>Normalized options affecting the output of the compilation. output options tell webpack how to write the compiled files to disk.
<boolean><boolean><string><string><string><number><boolean><boolean>output.devtoolModuleFilenameTemplate
, but used in the case of duplicate module identifiers.<string>output.library
if not set. It's useful for avoiding runtime collisions in sourcemaps from multiple webpack projects built as libraries.<string[]><string[]><string[]><string><string><number><string><Hash>
](
<string><string><string><string><boolean><boolean><string><string><LibraryOptions><boolean><string><boolean><string><string><boolean><boolean><TrustedTypes><string><string><string><string><string><string>tArg{TArg}- Returns: {Comparator
}
ast{Program}comments{CommentJavascriptParser[]}semicolons{Set}
[index: {string}]<any>
Specify options for each parser.
[index: {string}]<object>
<Compilation><NormalModule><NormalModule>Configuration object for web performance recommendations.
<object><number><number><object>[index: {string}]<any>
<string>path.resolve(__dirname, 'profiling/events.json')
. Defaults to
events.json
.Options object for the ProgressPlugin.
<boolean><boolean><number><boolean><object><boolean><number><null>Advanced configuration for modules that should be provided as shared modules to the share scope.
<boolean><string><string><string>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').
Modules that should be provided as shared modules to the share scope. Property names are used as share keys.
[index: {string}]<string>
<string><string><number[]><string><string[]><string><string[]><string[]><number>path{PathLikeFs}options<object>|<null>|<undefined>callback<object>- Returns: {void}
path{PathLikeFs}options<object>|<null>|<undefined>callback<object>- Returns: {void}
path{PathLikeFs}callback<object>- Returns: {void}
path{PathLikeFs}options<object>|<null>- Returns:
<string[]>
path{PathLikeFs}options<object>- Returns: {Buffer
[]}
path{PathLikeFs}options<object>- Returns: {Dirent
[]}
path{PathLikeFs}options<object>- Returns: {Dirent<Buffer
>[]}
path{PathLikeTypes}options<object>|<null>|<undefined>callback<object>- Returns: {void}
path{PathLikeTypes}options<object>|<null>|<undefined>callback<object>- Returns: {void}
path{PathLikeTypes}callback<object>- Returns: {void}
<boolean>path{PathOrFileDescriptorFs}options<object>|<null>|<undefined>callback<object>- Returns: {void}
path{PathOrFileDescriptorFs}options<object>|<null>|<undefined>callback<object>- Returns: {void}
path{PathOrFileDescriptorFs}callback<object>- Returns: {void}
path{PathOrFileDescriptorTypes}options<object>|<null>|<undefined>callback<object>- Returns: {void}
path{PathOrFileDescriptorTypes}options<object>|<null>|<undefined>callback<object>- Returns: {void}
path{PathOrFileDescriptorTypes}callback<object>- Returns: {void}
path{PathLikeFs}options{EncodingOption}callback<object>- Returns: {void}
path{PathLikeFs}options{BufferEncodingOption}callback<object>- Returns: {void}
path{PathLikeFs}options{EncodingOption}callback<object>- Returns: {void}
path{PathLikeFs}callback<object>- Returns: {void}
path{PathLikeFs}options{EncodingOption}- Returns:
<string>
path{PathLikeFs}options{BufferEncodingOption}- Returns: {Buffer}
path{PathLikeFs}options{EncodingOption}- Returns: {string|Buffer
}
path{PathLikeTypes}options{EncodingOption}callback<object>- Returns: {void}
path{PathLikeTypes}options{BufferEncodingOption}callback<object>- Returns: {void}
path{PathLikeTypes}options{EncodingOption}callback<object>- Returns: {void}
path{PathLikeTypes}callback<object>- Returns: {void}
<string>end{SourcePosition}index<number>start{SourcePosition}
path{PathLikeFs}options{EncodingOption}callback<object>- Returns: {void}
path{PathLikeFs}options{BufferEncodingOption}callback<object>- Returns: {void}
path{PathLikeFs}options{EncodingOption}callback<object>- Returns: {void}
path{PathLikeFs}callback<object>- Returns: {void}
path{PathLikeFs}options{EncodingOption}- Returns:
<string>
path{PathLikeFs}options{BufferEncodingOption}- Returns: {Buffer}
path{PathLikeFs}options{EncodingOption}- Returns: {string|Buffer
}
path{PathLikeTypes}options{EncodingOption}callback<object>- Returns: {void}
path{PathLikeTypes}options{BufferEncodingOption}callback<object>- Returns: {void}
path{PathLikeTypes}options{EncodingOption}callback<object>- Returns: {void}
path{PathLikeTypes}callback<object>- Returns: {void}
byName{Record<string, number>}bySource{Record<string, number>}usedIds<number[]>
byIdentifier{Record<string, number>}usedIds<number[]>
<boolean><string[]>Advanced configuration for container locations from which modules should be resolved and loaded at runtime.
<string>
|
<string[]><string>Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.
[index: {string}]<string>|<string[]>
<Chunk><ChunkGraph><CodeGenerationResults><string><ModuleGraph><RuntimeTemplate>
](
<Chunk><ChunkGraph><CodeGenerationResults><CssModule[]>
](
<RuntimeTemplate>
](
<string><string><Chunk><ChunkGraph><CodeGenerationResults><DependencyTemplates>
](
<ModuleGraph><RuntimeTemplate>
](
<boolean><boolean><TemplatePath><string><string><AssetInfo><PathData><object>[index: {string}]<string>|<string[]>
directories{Set} list of directories files{Set} list of files missing{Set} list of missing entries resolveDependencies{ResolveDependencies} dependencies of the resolvingresolveResults{Map<string, string|false|undefined>} stored resolve results
contextDependencies{WriteOnlySet} directories that was found on file system fileDependencies{WriteOnlySet} files that was found on file system log<object>log functionmissingDependencies{WriteOnlySet} dependencies that was not found on file system stack{Set} set of hooks' calls. For instance, resolve → parsedResolve → describedResolve,yield<object>yield result, if provided plugins can return several results
directories{Set} list of directories files{Set} list of files missing{Set} list of missing entries
platform{false|PlatformTargetProperties} - platform target properties
alias{AliasOption[]} aliasaliasFields{Set<string|string[]>} alias fieldscachePredicate<object>cache predicatecacheWithContext<boolean>cache with contextconditionNames{Set} A list of exports field condition names. descriptionFiles<string[]>description filesenforceExtension<boolean>enforce extensionexportsFields{Set<string|string[]>} exports fieldsextensionAlias{ExtensionAliasOption[]} extension aliasextensions{Set} extensions fallback{AliasOption[]} fallbackfileSystem<FileSystem>fileSystemfullySpecified<boolean>fully specifiedimportsFields{Set<string|string[]>} imports fieldsmainFields<object[]>main fieldsmainFiles{Set} main files modules<string>modulesplugins<Plugin[]>pluginspnpApi<null>pnp APIpreferAbsolute<boolean>prefer absolutepreferRelative<boolean>prefer relativeresolver<Resolver>resolverresolveToContext<boolean>resolve to contextrestrictions{Set<string|RegExp>} restrictionsroots{Set} roots symlinks<boolean>symlinkstsconfig<string>|<boolean>tsconfig file path or config objectunsafeCache{false|CacheTypes} unsafe cache
alias{AliasOption[]|AliasOptions} A list of module alias configurations or an object which maps key to valuealiasFields<string>A list of alias fields in description filescachePredicate<object>A function which decides whether a request should be cached or not. An object is passed with at leastpathandrequestproperties.cacheWithContext<boolean>Whether or not the unsafeCache should include request context as part of the cache key.conditionNames<string[]>A list of exports field condition names.descriptionFiles<string[]>A list of description files to read fromenforceExtension<boolean>Enforce that a extension from extensions must be usedexportsFields<string>A list of exports fields in description filesextensionAlias{ExtensionAliasOptions} An object which maps extension to extension aliasesextensions<string[]>A list of extensions which should be tried for filesfallback{AliasOption[]|AliasOptions} A list of module alias configurations or an object which maps key to value, applied only after modules optionfileSystem<FileSystem>The file system which should be usedfullySpecified<boolean>The request is already fully specified and no extensions or directories are resolved for itimportsFields<string>A list of imports fields in description filesmainFields<string>|<string[]>|<object[]>A list of main fields in description filesmainFiles<string[]>A list of main files in directoriesmodules<string>|<string[]>A list of directories to resolve modules from, can be absolute path or folder nameplugins<Plugin[]>A list of additional resolve plugins which should be appliedpnpApi<null>A PnP API that should be used - null is "never", undefined is "auto"preferAbsolute<boolean>Prefer to resolve server-relative urls as absolute paths before falling back to resolve in rootspreferRelative<boolean>Prefer to resolve module requests as relative requests before falling back to modulesresolver<Resolver>A prepared Resolver to which the plugins are attachedresolveToContext<boolean>Resolve to a context instead of a filerestrictions<string>|<RegExp[]>A list of resolve restrictionsroots<string[]>A list of root pathssymlinks<boolean>Resolve symlinks to their symlinked locationtsconfig<string>|<boolean>TypeScript config file path or config object with configFile and referencesunsafeCache<boolean>Use this cache object to unsafely cache the successful requestsuseSyncFileSystemCalls<boolean>Use only the sync constraints of the file system calls
direct{WeakMap<ResolveOptionsWithDependencyType, ResolverWithOptions>}stringified{Map<string, ResolverWithOptions>}
<object>Logic operators used in a condition matcher.
Logic operators used in a condition matcher.
<string>
|
<RegExp>
|
<RuleSetConditionAbsolute[]>
|
<object><ChunkGraph><CodeGenerationResults><string[]><string[]><string[]><string[]>Helper function for joining two ranges into a single range. This is useful when working with AST nodes, as it allows you to combine the ranges of child nodes to create the range of the parent node.
definitions{StackedMap<string, VariableInfo|ScopeInfo>}inShorthand<string>|<boolean>inTaggedTemplateTag<boolean>inTry<boolean>isAsmJs<boolean>isStrict<boolean>terminated{2|1}topLevelScope<boolean>
input{A}- Returns:
<null>|<undefined>
- {IteratorObject<T, undefined>}
Advanced configuration for modules that should be shared in the share scope.
<boolean><string><string><string><string><string><boolean><boolean><string>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.
[index: {string}]<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[]>a{T}b{T}- Returns:
<number>
<null><boolean><boolean><string><boolean><string><boolean><string><string><string><object><string[]><object><object><boolean><number><number><number><boolean>[index: {string}]<number>
<Chunk><ChunkGraph><CodeGenerationResults><DependencyTemplates>
](
<boolean><boolean><ModuleGraph><boolean><RuntimeTemplate>
](
<boolean>path{PathLikeFs}callback<object>- Returns: {void}
path{PathLikeFs}options<object>|<undefined>callback<object>- Returns: {void}
path{PathLikeFs}options<undefined>callback<object>- Returns: {void}
<boolean>extract{HookMap<SyncBailHook<Tuple<any, any, StatsFactoryContext>, void, UnsetAdditionalOptions>>}filter{HookMap<SyncBailHook<Tuple<any, StatsFactoryContext, number, number>, boolean|void, UnsetAdditionalOptions>>}filterResults{HookMap<SyncBailHook<Tuple<any, StatsFactoryContext, number, number>, boolean|void, UnsetAdditionalOptions>>}filterSorted{HookMap<SyncBailHook<Tuple<any, StatsFactoryContext, number, number>, boolean|void, UnsetAdditionalOptions>>}getItemFactory{HookMap<SyncBailHook<Tuple<any, StatsFactoryContext>, void|StatsFactory, UnsetAdditionalOptions>>}getItemName{HookMap<SyncBailHook<Tuple<any, StatsFactoryContext>, string|void, UnsetAdditionalOptions>>}groupResults{HookMap<SyncBailHook<Tuple<GroupConfig<any, any>[], StatsFactoryContext>, void, UnsetAdditionalOptions>>}merge{HookMap<SyncBailHook<Tuple<any[], StatsFactoryContext>, any, UnsetAdditionalOptions>>}result{HookMap<SyncBailHook<Tuple<any, StatsFactoryContext>, any, UnsetAdditionalOptions>>}sort{HookMap<SyncBailHook<Tuple<object[], StatsFactoryContext>, void, UnsetAdditionalOptions>>}sortResults{HookMap<SyncBailHook<Tuple<object[], StatsFactoryContext>, void, UnsetAdditionalOptions>>}
getItemName{HookMap<SyncBailHook<Tuple<any, StatsPrinterContext>, string|void, UnsetAdditionalOptions>>}print{HookMap<SyncBailHook<Tuple<any, StatsPrinterContext>, string|void|undefined, UnsetAdditionalOptions>>}printElements{HookMap<SyncBailHook<Tuple<PrintedElement[], StatsPrinterContext>, string|void|undefined, UnsetAdditionalOptions>>}printItems{HookMap<SyncBailHook<Tuple<string[], StatsPrinterContext>, string|undefined, UnsetAdditionalOptions>>}result{HookMap<SyncWaterfallHook<Tuple<string, StatsPrinterContext>, string, UnsetAdditionalOptions>>}sortElements{HookMap<SyncBailHook<Tuple<string[], StatsPrinterContext>, void, UnsetAdditionalOptions>>}sortItems{HookMap<SyncBailHook<Tuple<any[], StatsPrinterContext>, boolean|void, UnsetAdditionalOptions>>}
path{PathLikeFs}options<undefined>- Returns: {IStats}
path{PathLikeFs}options<object>- Returns:
<undefined>
path{PathLikeFs}options<object>- Returns:
<undefined>
path{PathLikeFs}options<object>- Returns: {IStats}
path{PathLikeFs}options<object>- Returns: {IBigIntStats}
path{PathLikeFs}options<object>- Returns: {IStats|IBigIntStats}
path{PathLikeFs}options{StatSyncOptions}- Returns:
<undefined>
path{PathLikeTypes}callback<object>- Returns: {void}
path{PathLikeTypes}options<object>|<undefined>callback<object>- Returns: {void}
path{PathLikeTypes}options<undefined>callback<object>- Returns: {void}
<object>data{Record<string, any>|TopLevelSymbol|HarmonySettings|ImportSettings|CommonJsImportSettings|CompatibilitySettings|HarmonySpecifierGuards}next{TagInfo}tag<symbol>
Use a Trusted Types policy to create urls for chunks.
onPolicyCreationFailure{"continue"|"stop"} If the call totrustedTypes.createPolicy(...)fails -- e.g., due to the policy name missing from the CSPtrusted-typeslist, or it being a duplicate name, etc. -- controls whether to continue with loading in the hope thatrequire-trusted-types-for 'script'isn't enforced yet, versus fail immediately. Default behavior is 'stop'.policyName<string>The name of the Trusted Types policy created by webpack to serve bundle chunks.
<string><string><string[]>alias{AliasOption[]} tsconfig file datamodules<string[]>tsconfig file data
<ChunkGraph><RuntimeTemplate>
](
<ChunkGraph><NormalModule><RuntimeTemplate>
](
[index: {string}]{Value[]}
A virtual module definition.
[index: {string}]{VirtualModuleContent}
Options for building virtual resources.
<object><object><object><object><object><object><object>changes{Set|null} get current aggregated changes that have not yet send to callback contextTimeInfoEntries{Map<string, "ignore"|EntryTypesIndex|OnlySafeTimeEntry|ExistenceOnlyTimeEntryTypesIndex|null>} get info about directoriesfileTimeInfoEntries{Map<string, "ignore"|EntryTypesIndex|OnlySafeTimeEntry|ExistenceOnlyTimeEntryTypesIndex|null>} get info about filesremovals{Set|null} get current aggregated removals that have not yet send to callback
<object><string>
|
<RegExp[]>Options for the watcher.
<number><boolean><string>
|
<RegExp>
|
<string[]><boolean><Chunk><ChunkGraph><CodeGenerationResults><DependencyTemplates>
](
<ModuleGraph><RuntimeTemplate>
](
<string>
|
<object[]><string><any>c{Record<string, ExecuteModuleObject>}i<object[]>
<object>file{PathOrFileDescriptorFs}data{string|ArrayBufferView} options{WriteFileOptions}callback<object>- Returns: {void}
file{PathOrFileDescriptorFs}data{string|ArrayBufferView} callback<object>- Returns: {void}
<object><object><object><string>
|
<string[]><string><string><string>
|
<string[]><string>
|
<string[]><string><object><undefined><object><any><undefined>
|
<null>
|
<string>
|
<number>
|
<bigint>
|
<boolean>
|
<Function>
|
<RegExp><object><boolean><string><object><string><object><object><object><undefined>
|
<string><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.
<undefined>
|
<null><string>
|
<string[]><string>
|
<EntryObject>
|
<string[]><string><string><VariableInfo>
](
<string><string>
|
<string[]><object>electron{NonNullable<undefined|boolean>}electronMain{NonNullable<undefined|boolean>}electronPreload{NonNullable<undefined|boolean>}electronRenderer{NonNullable<undefined|boolean>}node{NonNullable<undefined|boolean>}nwjs{NonNullable<undefined|boolean>}web{NonNullable<undefined|boolean>}
<EntryOptions><boolean><string><Hash>
](
<object><object>phase{"defer"}
<undefined>
|
<null>
|
<string><object>appendOnly{NonNullable<undefined|boolean>}colors{NonNullable<undefined|boolean>}debug{NonNullable<undefined|string|boolean|RegExp|FilterItemTypes[]|object>}level{NonNullable<undefined|"none"|"verbose"|"error"|"warn"|"info"|"log">}stream<NodeJS.WritableStream>|<object>
<undefined>
|
<null>
|
<Module><string>
|
<string[]><string>
|
<string[]><undefined>
|
<string><object><object>avoidEntryIife{NonNullable<undefined|boolean>}checkWasmTypes{NonNullable<undefined|boolean>}chunkIds{NonNullable<undefined|false|"natural"|"named"|"deterministic"|"size"|"total-size">}concatenateModules{NonNullable<undefined|boolean>}emitOnErrors{NonNullable<undefined|boolean>}flagIncludedChunks{NonNullable<undefined|boolean>}innerGraph{NonNullable<undefined|boolean>}mangleExports{NonNullable<undefined|boolean|"deterministic"|"size">}mangleWasmImports{NonNullable<undefined|boolean>}mergeDuplicateChunks{NonNullable<undefined|boolean>}minimize{NonNullable<undefined|boolean>}minimizer<object>|<WebpackPluginInstance>|<"..."[]>moduleIds{NonNullable<undefined|false|"natural"|"named"|"deterministic"|"size"|"hashed">}nodeEnv{NonNullable<undefined|string|false>}portableRecords{NonNullable<undefined|boolean>}providedExports{NonNullable<undefined|boolean>}realContentHash{NonNullable<undefined|boolean>}removeAvailableModules{NonNullable<undefined|boolean>}removeEmptyChunks{NonNullable<undefined|boolean>}runtimeChunk{NonNullable<undefined|false|object>}sideEffects{NonNullable<undefined|boolean|"flag">}splitChunks{NonNullable<undefined|false|OptimizationSplitChunksOptions>}usedExports{NonNullable<undefined|boolean|"global">}
<object>assetModuleFilename{NonNullable<undefined|string|object>}asyncChunks{NonNullable<undefined|boolean>}charset{NonNullable<undefined|boolean>}chunkFilename{NonNullable<undefined|string|object>}chunkFormat{NonNullable<undefined|string|false>}chunkLoading{NonNullable<undefined|string|false>}chunkLoadingGlobal<string>chunkLoadTimeout<number>compareBeforeEmit{NonNullable<undefined|boolean>}crossOriginLoading{NonNullable<undefined|false|"anonymous"|"use-credentials">}cssChunkFilename{NonNullable<undefined|string|object>}cssFilename{NonNullable<undefined|string|object>}devtoolNamespace<string>environment{RecursiveNonNullable} filename{NonNullable<undefined|string|object>}globalObject<string>hashDigest<string>hashDigestLength<number>hashFunction{NonNullable<undefined|string|Hash>}hotUpdateChunkFilename<string>hotUpdateGlobal<string>hotUpdateMainFilename<string>iife{NonNullable<undefined|boolean>}importFunctionName<string>importMetaName<string>module{NonNullable<undefined|boolean>}path<string>pathinfo{NonNullable<undefined|boolean|"verbose">}publicPath{NonNullable<undefined|string|object>}scriptType{NonNullable<undefined|false|"module"|"text/javascript">}sourceMapFilename<string>strictModuleErrorHandling{NonNullable<undefined|boolean>}strictModuleExceptionHandling{NonNullable<undefined|boolean>}uniqueName<string>wasmLoading{NonNullable<undefined|string|false>}webassemblyModuleFilename<string>workerChunkLoading{NonNullable<undefined|string|false>}workerPublicPath<string>workerWasmLoading{NonNullable<undefined|string|false>}
<string><undefined>
|
<null>
|
<object>
|
<object><object><string><string><object><string><ResolveOptions>
|
<object><Resolver><string>
|
<RegExp>
|
<object>
|
<RuleSetCondition[]>data{EffectData}- Returns:
<string>|<RuleSetUseFunction>|<object>|<undefined>|<null>|<string>|<RuleSetUseFunction>|<object[]>
<string><undefined>
|
<string>
|
<boolean>
|
<string[]><object><object><string>
|
<RegExp[]><string>
|
<RegExp[]><object><object><object><string>
|
<RegExp[]><string><boolean>
|
<StatsOptions><undefined>
|
<string><string>
|
<TopLevelSymbol><string>
|
<string[]><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}
externalsPresets{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>}
<object><string>
|
<object[]><symbol><symbol><symbol><symbol>- cache
- cli
- config
- container
- css
- debug
- dependencies
- electron
- esm
- experiments
- ids
- javascript
- library
- ModuleFilenameHelpers
- node
- OptimizationStages
- optimize
- prefetch
- runtime
- RuntimeGlobals
- sharing
- sources
- util
- wasm
- web
- webworker
- AsyncDependenciesBlock
- AutomaticPrefetchPlugin
- BannerPlugin
- Cache
- Chunk
- ChunkGraph
- ChunkGroup
- CleanPlugin
- CodeGenerationResults
- Compilation
- Compiler
- ConcatenationScope
- ContextExclusionPlugin
- ContextReplacementPlugin
- DefinePlugin
- DelegatedPlugin
- Dependency
- DllPlugin
- DllReferencePlugin
- DotenvPlugin
- DynamicEntryPlugin
- EntryOptionPlugin
- EntryPlugin
- Entrypoint
- EnvironmentPlugin
- EvalDevToolModulePlugin
- EvalSourceMapDevToolPlugin
- ExternalModule
- ExternalsPlugin
- Generator
- HotModuleReplacementPlugin
- HotUpdateChunk
- IgnorePlugin
- InitFragment
- JavascriptModulesPlugin
- LibManifestPlugin
- LibraryTemplatePlugin
- LoaderOptionsPlugin
- LoaderTargetPlugin
- ManifestPlugin
- Module
- ModuleFactory
- ModuleGraph
- ModuleGraphConnection
- MultiCompiler
- MultiStats
- NoEmitOnErrorsPlugin
- NormalModule
- NormalModuleReplacementPlugin
- Parser
- PlatformPlugin
- PrefetchPlugin
- ProgressPlugin
- ProvidePlugin
- Resolver
- RuntimeModule
- SourceMapDevToolPlugin
- Stats
- Template
- WatchIgnorePlugin
- Watching
- WebpackError
- WebpackOptionsApply
- WebpackOptionsDefaulter
webpack.validate(configuration): void<Configuration>
|
<MultiConfiguration>webpack.validateSchema(schema, options, validationConfiguration?): voidschema{Parameters} options{Parameters} validationConfiguration{ValidationErrorConfiguration}- Returns: {void}
<string>webpack(options, callback): void<Configuration><Compiler>
|
<null><Configuration><Compiler><MultiConfiguration><MultiCompiler>
|
<null><MultiConfiguration><MultiCompiler>