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.
<string><string><string><string><string><boolean><boolean><string><string><TsconfigPathsMap>
|
<null>call{CallExpression}calleeName<string>getCalleeMembers<object>getMemberRanges<object>getMembers<object>getMembersOptionals<object>name<string>rootInfo<string>type{"call"}
<ChunkGraph><CodeGenerationResults><Compilation><ConcatenationScope><DependencyTemplates><ModuleGraph><RuntimeSpec><RuntimeSpec[]><RuntimeTemplate>a{T}b{T}- Returns: {-1|0|1}
declaration{CompatibilitySettingsDeclaration}name<string>
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>
<ResolvedContextFileSystemInfoEntry><number><string><string><ContextDependency[]><string><ResolveOptions><string><ResolvedContextTimestampAndHash><number><string>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[]>
|
<null><string>
|
<ExportSpec[]><boolean><string><number><boolean><boolean><Module[]><string>
|
<ExportSpec[]>
|
<null><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>[index: {string}]<string>|<string[]>
- {Iterator< T, TReturn, TNext >}.
<Disposable>
- {SetIterator}
<boolean><AssetInfo><boolean><string><boolean><string><string><string><string><boolean><string><string><boolean><boolean><string><Snapshot>
|
<null><boolean>harmonyNamedExports{Set< string >}harmonyStarExports{HarmonyStarExportsList}lastHarmonyImportOrder<number>localModules<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>
<object><object><Compilation><object><RuntimeSpec><string>Returns array of values.
<any[]><StatsLoggingEntry[]><string><number><string[]><string><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.
<string[]><string[]>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>[index: {string}]<any>
Options affecting the output of the compilation. output options tell webpack how to write the compiled files to disk.
<string><boolean><string>
|
<LibraryCustomUmdCommentObject><boolean><string><string><string><number><boolean>
|
<CleanOptions><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[]><Environment><string><string><number><string><string><string><string><boolean><boolean><string><string><string>
|
<string[]>
|
<LibraryCustomUmdObject>
|
<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><Compilation><NormalModule><NormalModule>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>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}
<PathLikeTypes><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}
<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[]>|<RemotesConfig>
<Chunk><ChunkGraph><CodeGenerationResults><string><ModuleGraph><RuntimeTemplate>[index: {string}]<string>|<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}
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.
alias{CompiledAliasOption[]} tsconfig file datamodules<string[]>tsconfig file data
<object><string[]>Object.keys(allContexts)
— read-only; used on the
_selectPathsDataForContext
hot path<TsconfigPathsData><string><object>Returns location of targetPath relative to rootPath.
changes{Set< string >|null} get current aggregated changes that have not yet send to callbackcontextTimeInfoEntries{Map< string, "ignore"|EntryTypesIndex|OnlySafeTimeEntry|ExistenceOnlyTimeEntryTypesIndex|null >} get info about directoriesfileTimeInfoEntries{Map< string, "ignore"|EntryTypesIndex|OnlySafeTimeEntry|ExistenceOnlyTimeEntryTypesIndex|null >} get info about filesremovals{Set< string >|null} get current aggregated removals that have not yet send to callback
<ContextResolveData>
|
<ContextOptions>
|
<object><object><string>
|
<string[]><string><string><undefined><object><boolean><string>
|
<ConsumesObject[]>
|
<ConsumesObject><undefined>
|
<null><string><RawChunkGroupOptions>
|
<object>
|
<object>
|
<object><EntryOptions><boolean><object>phase{"defer"|"source"}
<object><string>
|
<RemotesObject[]>
|
<RemotesObject><string><object><string>
|
<RegExp[]><string>
|
<RegExp[]><object><object><object><string>
|
<RegExp[]><string><undefined>
|
<string>