On this page

These types are not exported by webpack, but they are available to TypeScript consumers.

new DependencyConstructor(...args?): Dependency
Attributes
args:any[]
Returns:Dependency

Attributes
chunkGraph:ChunkGraph
the chunk graph
chunkInitFragments:InitFragment<GenerateContext>[]
chunkInitFragments
codeGenerationResults:CodeGenerationResults
the code generation results
concatenationScope:ConcatenationScope
when in a concatenated module, information about other concatenated modules
dependencyTemplates:DependencyTemplates
the dependency templates
initFragments:InitFragment<GenerateContext>[]
mutable array of init fragments for the current module
module:Module
current module
moduleGraph:ModuleGraph
the module graph
runtime:RuntimeSpec
current runtimes, for which code is generated
runtimeRequirements:Set<string>
the requirements for runtime
runtimeTemplate:RuntimeTemplate
the runtime template

Attributes
attributes:Record<string, string>
externalType:"module" | "import"
phase:0 | 2 | 1

Returns array of values.

Attributes
loc:string

Attributes

Attributes
index:number
name:string

Attributes
chunkGraph:ChunkGraph
runtime:RuntimeSpec
runtimeTemplate:RuntimeTemplate


Type:ResolveOptions & { dependencyType?: string; resolveToContext?: boolean }
Attributes
dependencyType:string
resolveToContext:boolean