These types are not exported by webpack, but they are available to TypeScript consumers.
new DependencyConstructor(...args?): DependencyAttributes
args:
any[]Returns:
DependencyAttributes
chunkGraph:
ChunkGraphthe chunk graph
chunkInitFragments:
InitFragment<GenerateContext>[]chunkInitFragments
codeGenerationResults:
CodeGenerationResultsthe code generation results
concatenationScope:
ConcatenationScopewhen in a concatenated module, information about other concatenated modules
dependencyTemplates:
DependencyTemplatesthe dependency templates
initFragments:
InitFragment<GenerateContext>[]mutable array of init fragments for the current module
module:
Modulecurrent module
moduleGraph:
ModuleGraphthe module graph
runtime:
RuntimeSpeccurrent runtimes, for which code is generated
runtimeTemplate:
RuntimeTemplatethe runtime template
Attributes
Returns array of values.
Attributes
loc:
stringAttributes
Attributes
Attributes
Type:
ResolveOptions & { dependencyType?: string; resolveToContext?: boolean }Attributes