Defines the known meta type used by this module.
new ModuleGraph(): ModuleGraph<ModuleGraph>Defines the known meta type used by this module.
ModuleGraphConnection{typeof ModuleGraphConnection}
addExplanation(dependency, explanation): voidAdds the provided dependency to the module graph.
addExtraReason(module, explanation): voidAdds the provided module to the module graph.
cached(fn, ...args?): RReturns computed value or cached.
cloneModuleAttributes(sourceModule, targetModule): voidClones module attributes.
copyOutgoingModuleConnections(oldModule, newModule, filterConnection): void<Module><Module><Function><void>Copies outgoing module connections.
dependencyCacheProvide(dependency, ...args?): voiddependency{D} dependencyargs<Tuple><<ARGS>,<unknown>> arguments, last argument is a function called with moduleGraph, dependency, ...args- Returns: {R} computed value or cached
Dependency cache provide.
finishUpdateParent(): void<void>Finish update parent.
freeze(cacheStage?): voidProcesses the provided cache stage.
getConnection(dependency): ModuleGraphConnection | undefined<Dependency><ModuleGraphConnection>
|
<undefined>Returns the connection.
getDepth(module): number | nullReturns the depth of the module.
getExportInfo(module, exportName): ExportInfoReturns info about the export.
getExportsInfo(module): ExportsInfo<Module><ExportsInfo>Returns info about the exports.
getIncomingConnections(module): Iterable<Module><Iterable><ModuleGraphConnection>
> reasons why a module is includedGets incoming connections.
getIncomingConnectionsByOriginModule(module): ReadonlyMap<Module><ReadonlyMap>
<
<Module>
|
<null>
|
<undefined>
,
<readonly ModuleGraphConnection[]>
> reasons why a module is included, in a map by source moduleGets incoming connections by origin module.
getIssuer(module): IssuerReturns the issuer module.
getMeta(thing): MetaReturns metadata.
getMetaIfExisting(thing): Meta | undefined<object><Meta>
|
<undefined>Gets meta if existing.
getModule(dependency): Module | null<Dependency>Returns the referenced module.
getOptimizationBailout(module): string | Function<Module><string>
|
<Function>Gets optimization bailout.
getOrigin(dependency): Module | null<Dependency>Returns the referencing module.
getOutgoingConnections(module): Iterable<Module><Iterable><ModuleGraphConnection>
> list of outgoing connectionsGets outgoing connections.
getOutgoingConnectionsByModule(module): ReadonlyMap<Module><ReadonlyMap>
<
<Module>
|
<undefined>
,
<readonly ModuleGraphConnection[]>
> |
<undefined>
connections to modules, in a map by moduleGets outgoing connections by module.
getParentBlock(dependency): DependenciesBlock | undefined<Dependency><DependenciesBlock>
|
<undefined>Returns parent block.
getParentBlockIndex(dependency): number<Dependency><number>Gets parent block index.
getParentModule(dependency): Module | undefined<Dependency><Module>
|
<undefined>Gets parent module.
getPostOrderIndex(module): number | nullGets post order index.
getPreOrderIndex(module): number | nullGets pre order index.
getProfile(module): ModuleProfile | undefined<Module><ModuleProfile>
|
<undefined>Returns the module profile.
getProvidedExports(module): true | stringGets provided exports.
getReadOnlyExportInfo(module, exportName): ExportInfo<Module><string><ExportInfo>Gets read only export info.
getResolvedModule(dependency): Module | null<Dependency>Gets resolved module.
getResolvedOrigin(dependency): Module | null<Dependency>Gets resolved origin.
getUsedExports(module, runtime): boolean | SortableSetReturns the used exports.
isAsync(module): booleanChecks whether this module graph is async.
isDeferred(module): booleanChecks whether this module graph is deferred.
isExportProvided(module, exportName): boolean | nullChecks whether this module graph is export provided.
moveModuleConnections(oldModule, newModule, filterConnection): void<Module><Module><Function><void>Move module connections.
removeAllModuleAttributes(): void<void>Removes all module attributes.
removeConnection(dependency): void<Dependency><void>Removes connection.
removeModuleAttributes(module): voidRemoves module attributes.
setAsync(module): voidUpdates async using the provided module.
setDepth(module, depth): voidUpdates depth using the provided module.
setDepthIfLower(module, depth): booleanSets depth if lower.
setIssuer(module, issuer): voidUpdates issuer using the provided module.
setIssuerIfUnset(module, issuer): voidSets issuer if unset.
setModuleMemCaches(moduleMemCaches): voidSets module mem caches.
setParentDependenciesBlockIndex(dependency, index): voidSets parent dependencies block index.
setParents(dependency, block, module, indexInBlock?): void<Dependency><DependenciesBlock><Module><number><void>Updates parents using the provided dependency.
setPostOrderIndex(module, index): voidSets post order index.
setPostOrderIndexIfUnset(module, index): booleanSets post order index if unset.
setPreOrderIndex(module, index): voidSets pre order index.
setPreOrderIndexIfUnset(module, index): booleanSets pre order index if unset.
setProfile(module, profile?): voidUpdates profile using the provided module.
setResolvedModule(originModule, dependency, module): voidSets resolved module.
unfreeze(): void<void>Defines the known meta type used by this module.
updateModule(dependency, module): voidUpdates module using the provided dependency.
updateParent(dependency, connection?, parentModule?): void<Dependency><ModuleGraphConnection><Module><void>Updates parent using the provided dependency.
Clear module graph for module.
<Module><string><string><ModuleGraph>Gets module graph for module.
Sets module graph for module.
<undefined>
|
<null>
|
<Module><KnownMeta>