These types are not exported by webpack, but they are available to TypeScript consumers.
new DependencyConstructor(...args?): DependencyAttributes
args:
<any>[]
Returns:
<Dependency>Attributes
chunkGraph:
<ChunkGraph>the chunk graph
chunkInitFragments:
{InitFragment
[]} 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
[]} 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
} the requirements for runtime
runtimeTemplate:
<RuntimeTemplate>the runtime template
Returns array of values.
Attributes
loc:
<string>Attributes
Attributes
Attributes
Type:
{ResolveOptions & { dependencyType?: string; resolveToContext?: boolean }}
Attributes