These types are not exported by webpack, but they are available to TypeScript consumers.
Returns compiler or MultiCompiler.
<Configuration><Compiler>
|
<null>Returns the compiler object.
<Configuration><Compiler>Returns the compiler object.
<MultiConfiguration><MultiCompiler>
|
<null>Returns the multi compiler object.
<MultiConfiguration><MultiCompiler>Returns the multi compiler object.
<AssetInfo><InitFragment><any>
>[] chunk init fragments for javascript modules<string><string><Tuple>
<
<object>
> share-init for modules federation<object><string><string><string><string><string><boolean><boolean><string>
|
<false><string><TsconfigPathsMap>
|
<null>call{CallExpression}calleeName<string>getCalleeMembers<object>getMemberRanges<object>getMembers<object>getMembersOptionals<object>name<string>rootInfo<string>|<VariableInfo>type{"call"}
<ChunkGraph><CodeGenerationResults><Compilation><ConcatenationScope><DependencyTemplates><ModuleGraph><RuntimeSpec><RuntimeSpec><RuntimeTemplate><ReadonlySet>
<
<string>
> source typesa{T}b{T}- Returns:
<-1>|<0>|<1>
declaration{CompatibilitySettingsDeclaration}name<string>
<boolean>alias
is an array — precomputed so the hot path skips
Array.isArray<number>name
— used as a cheap screen on the hot path.
-1
indicates "matches any first char" (empty wildcard prefix).<string><string><boolean>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>|<ConsumesConfig>
definitions<SyncWaterfallHook><<Tuple><<Record><<string>,<CodeValue>>>,<Record><<string>,<CodeValue>>>
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.
Returns location of targetPath relative to rootPath.
<object><object><object><object><object><object><object><string><string>The mappings from request to module info.
[index: {string}]<object>
[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>Enables/Disables experiments (experimental features with relax SemVer compatibility).
[index: {string}]<any>
<boolean><boolean><HttpUriOptions>
|
<string>
|
<RegExp>
|
<object><boolean><boolean><boolean><boolean><boolean>.html
files usable directly as entry points without additional HTML handling.<boolean>
|
<LazyCompilationOptions><boolean><boolean><boolean><boolean><boolean><string>
|
<ExportSpec><boolean><string><number><boolean><boolean><Module><true>
|
<string>
|
<ExportSpec>
[] |
<null>
exported names, true for unknown exports or null for no exports<number><boolean>Returns location of targetPath relative to rootPath.
<ChunkGraph><CodeGenerationResults><ConcatenationScope><DependencyTemplates><object><ModuleGraph><RuntimeSpec><RuntimeTemplate><string>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>>
<ImportExpressionJavascriptParser><Date><Date><Date><object><object><object><object><object><object><object><Date><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>- {SetIterator}
<IteratorObject><T>
,
<TReturn>
,
<TNext>
><boolean><AssetInfo><Map><boolean><string><boolean><string><string><string><string><boolean><string><string><boolean><boolean><string><Snapshot>
|
<null><boolean><Map><string>
,
<ValueCacheVersion>
> using in NormalModule<number><LocalModule>Checks whether this object is sorted.
aggressiveSplits{SplitData[]}chunkHashes<ChunkHashes>chunkModuleHashes<ChunkModuleHashes>chunkModuleIds<ChunkModuleIds>chunkRuntime<ChunkRuntime>chunks<RecordsChunks>fullHashChunkModuleHashes<FullHashChunkModuleHashes>hash<string>hotIndex<number>modules<RecordsModules>
Returns array of values.
<StatsAsset><StatsChunk><StatsChunkGroup><string><StatsCompilation><StatsError><StatsLogging><StatsModule><StatsModuleIssuer><StatsModuleReason><StatsModuleTraceDependency><StatsModuleTraceItem><StatsProfile><string>path{PathLikeFs}callback<object>- Returns: {void}
path{PathLikeFs}options<StatOptionsFs>|<object>|<undefined>callback<object>- Returns: {void}
path{PathLikeFs}options<StatOptionsFs>|<object>callback<object>- Returns: {void}
path{PathLikeFs}options<StatOptionsFs>|<undefined>callback<object>- Returns: {void}
Describes a manifest entrypoint.
Describes a manifest asset that links the emitted path to the producing asset.
file{PathLikeFs}options<MakeDirectoryOptions>|<object>callback<object>- Returns: {void}
file{PathLikeFs}options<string>|<number>|<MakeDirectoryOptions>|<object>|<null>|<undefined>callback<object>- Returns: {void}
file{PathLikeFs}options<string>|<number>|<MakeDirectoryOptions>|<null>|<undefined>callback<object>- Returns: {void}
file{PathLikeFs}callback<object>- Returns: {void}
<Compilation><Map><string>
,
<ValueCacheVersion>
>[index: {string}]<any>
Options affecting the output of the compilation. output options tell webpack how to write the compiled files to disk.
<string><string>
|
<TemplatePathFn><PathDataModule>
> The filename of asset modules as relative path inside the 'output.path' directory.<boolean><string>
|
<LibraryCustomUmdCommentObject><boolean><string>
|
<TemplatePathFn><PathDataChunk>
> 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.<string>
|
<false><string>
|
<false><string><number><boolean>
|
<CleanOptions><boolean><false>
|
<"use-credentials">
|
<"anonymous">
This option enables cross-origin loading of chunks.<string>
|
<TemplatePathFn><PathDataChunk>
> 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.<string>
|
<TemplatePathFn><PathDataChunk>
> 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.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><Environment><string>
|
<TemplatePathFn><PathDataChunk>
> 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.<string><string><number><string><string><string><string><string>
|
<TemplatePathFn><PathDataChunk>
> Specifies the filename template of non-initial output html 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.<string>
|
<TemplatePathFn><PathDataChunk>
> Specifies the filename template of output html 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.<boolean><boolean><string><string><LibraryCustomUmdObject>
|
<LibraryOptions>
Make the output files a library, exporting the exports of the entry point.<string><boolean><string><boolean>
|
<"verbose"><string>
|
<TemplatePathFn><PathData>
> The 'publicPath' specifies the public URL address of the output files when referenced in a browser.<false>
|
<"module">
|
<"text/javascript">
This option enables loading async chunks via a custom script type, such as script type="module".<string><string><boolean><boolean><string>
|
<true>
|
<TrustedTypes><boolean>output.libraryTarget
is set to umd and
output.library
is set, setting this to true will name the AMD module.<string><string>
|
<false><string><string>
|
<false><string><string>
|
<false><Compilation><NormalModule><NormalModule><string>
|
<Buffer><ArrayBufferLike>
>Returns check if version is greater or equal.
<object>Advanced configuration for modules that should be provided as shared modules to the share scope.
<boolean><string><string><string>
|
<false>path{PathLikeFs}options<"ascii">|<"utf8">|<"utf-8">|<"utf16le">|<"utf-16le">|<"ucs2">|<"ucs-2">|<"base64">|<"base64url">|<"latin1">|<"binary">|<"hex">|<object>|<null>|<undefined>callback<object>- Returns: {void}
path{PathLikeFs}options<"ascii">|<"utf8">|<"utf-8">|<"utf16le">|<"utf-16le">|<"ucs2">|<"ucs-2">|<"base64">|<"base64url">|<"latin1">|<"binary">|<"hex">|<ObjectEncodingOptionsFs>|<object>|<null>|<undefined>callback<object>- Returns: {void}
path{PathLikeFs}callback<object>- Returns: {void}
<PathLikeTypes><"ascii">
|
<"utf8">
|
<"utf-8">
|
<"utf16le">
|
<"utf-16le">
|
<"ucs2">
|
<"ucs-2">
|
<"base64">
|
<"base64url">
|
<"latin1">
|
<"binary">
|
<"hex">
|
<object>
|
<null>
|
<undefined><object><PathLikeTypes><"ascii">
|
<"utf8">
|
<"utf-8">
|
<"utf16le">
|
<"utf-16le">
|
<"ucs2">
|
<"ucs-2">
|
<"base64">
|
<"base64url">
|
<"latin1">
|
<"binary">
|
<"hex">
|
<ObjectEncodingOptionsTypes>
|
<object>
|
<null>
|
<undefined><object><PathLikeTypes><object><"ascii">
|
<"utf8">
|
<"utf-8">
|
<"utf16le">
|
<"utf-16le">
|
<"ucs2">
|
<"ucs-2">
|
<"base64">
|
<"base64url">
|
<"latin1">
|
<"binary">
|
<"hex">
|
<ObjectEncodingOptionsFs>
|
<object>
|
<Abortable>
|
<null>
|
<undefined><object><object>path{PathLikeFs}options<EncodingOptionFs>callback<object>- Returns: {void}
path{PathLikeFs}options{BufferEncodingOption}callback<object>- Returns: {void}
path{PathLikeFs}options<EncodingOptionFs>callback<object>- Returns: {void}
path{PathLikeFs}callback<object>- Returns: {void}
<PathLikeTypes><object>path{PathLikeFs}options<EncodingOptionFs>callback<object>- Returns: {void}
path{PathLikeFs}options{BufferEncodingOption}callback<object>- Returns: {void}
path{PathLikeFs}options<EncodingOptionFs>callback<object>- Returns: {void}
path{PathLikeFs}callback<object>- Returns: {void}
Advanced configuration for container locations from which modules should be resolved and loaded at runtime.
Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.
[index: {string}]<string>|<string>[] |<RemotesConfig>
<Chunk><ChunkGraph><CodeGenerationResults><string><ModuleGraph><RuntimeTemplate>path{PathLikeFs}callback<object>- Returns: {void}
path{PathLikeFs}options<StatOptionsFs>|<object>|<undefined>callback<object>- Returns: {void}
path{PathLikeFs}options<StatOptionsFs>|<object>callback<object>- Returns: {void}
path{PathLikeFs}options<StatOptionsFs>|<undefined>callback<object>- Returns: {void}
Returns location of targetPath relative to rootPath.
<boolean><PathLikeTypes><object>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.
<CompiledAliasOptions><string><object><string>Object.keys(allContexts)
— read-only; used on the
_selectPathsDataForContext
hot path<TsconfigPathsData><string><object>Returns location of targetPath relative to rootPath.
<Set><Map><string>
,
<"ignore">
|
<EntryTypesIndex>
|
<OnlySafeTimeEntry>
|
<ExistenceOnlyTimeEntryTypesIndex>
|
<null>
> get info about directories<Map><string>
,
<"ignore">
|
<EntryTypesIndex>
|
<OnlySafeTimeEntry>
|
<ExistenceOnlyTimeEntryTypesIndex>
|
<null>
> get info about files<ContextResolveData>
|
<ContextOptions>
|
<object><"ascii">
|
<"utf8">
|
<"utf-8">
|
<"utf16le">
|
<"utf-16le">
|
<"ucs2">
|
<"ucs-2">
|
<"base64">
|
<"base64url">
|
<"latin1">
|
<"binary">
|
<"hex"><undefined>
|
<T><CommentImport>
|
<object><boolean>
|
<CIRCULAR_CONNECTION>
|
<TRANSITIVE_ONLY><string>
|
<ConsumesObject><ConsumesObject><null>
|
<ContextFileSystemInfoEntry>
|
<"ignore">
|
<ExistenceOnlyTimeEntryFileSystemInfo><FunctionDeclaration>
|
<VariableDeclaration>
|
<ClassDeclaration><3>
|
<5>
|
<6>
|
<7>
|
<8>
|
<9>
|
<10>
|
<11>
|
<12>
|
<13>
|
<14>
|
<15>
|
<16>
|
<17>
|
<2015>
|
<2016>
|
<2017>
|
<2018>
|
<2019>
|
<2020>
|
<2021>
|
<2022>
|
<2023>
|
<2024>
|
<2025>
|
<2026>
|
<"latest"><undefined>
|
<null>
|
<"ascii">
|
<"utf8">
|
<"utf-8">
|
<"utf16le">
|
<"utf-16le">
|
<"ucs2">
|
<"ucs-2">
|
<"base64">
|
<"base64url">
|
<"latin1">
|
<"binary">
|
<"hex">
|
<ObjectEncodingOptionsFs><string><ImportExpressionImport>
|
<UnaryExpression>
|
<ArrayExpression>
|
<ArrowFunctionExpression>
|
<AssignmentExpression>
|
<AwaitExpression>
|
<BinaryExpression>
|
<SimpleCallExpression>
|
<NewExpression>
|
<ChainExpression>
|
<ClassExpression>
|
<ConditionalExpression>
|
<FunctionExpression>
|
<Identifier>
|
<SimpleLiteral>
|
<RegExpLiteral>
|
<BigIntLiteral>
|
<LogicalExpression>
|
<MemberExpression>
|
<MetaProperty>
|
<ObjectExpression>
|
<SequenceExpression>
|
<TaggedTemplateExpression>
|
<TemplateLiteral>
|
<ThisExpression>
|
<UpdateExpression>
|
<YieldExpression><T>
|
<FakeHookMarker><RawChunkGroupOptions>
|
<object>
|
<object>
|
<object><EntryOptions><boolean><IStatsBaseTypes><ImportExpressionImport>
|
<object>phase<"defer">|<"source">
<0>
|
<1>
|
<2><ParserStateBase>
|
<Record><T>
|
<object><ParserStateBase>
|
<Record><Identifier>
|
<MemberExpression>
|
<ObjectPattern>
|
<ArrayPattern>
|
<RestElement>
|
<AssignmentPattern><"unknown-argument">
|
<"unexpected-non-array-in-path">
|
<"unexpected-non-object-in-path">
|
<"multiple-values-unexpected">
|
<"invalid-value"><object>
|
<RecursiveArrayOrRecord><T>
>[] |
<T><string>
|
<RemotesObject><RemotesObject><string>
|
<SharedObject[]>
|
<SharedObject><"string">
|
<"number">
|
<"boolean"><string>
|
<Buffer><undefined>
|
<string><0>
|
<1>
|
<2>
|
<3>
|
<4>