On this page

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

Attributes
layer:<string>
media:<string>
supports:<string>

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

Creates a cached parameterized comparator.

Attributes
the main source order
the sub source order

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
current runtimes, for which code is generated
runtimeRequirements:<Set>
< <string> > the requirements for runtime
runtimeTemplate:<RuntimeTemplate>
the runtime template

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

Returns array of values.

Attributes

  • end {SourcePosition}
  • index <number>
  • start {SourcePosition}

Attributes
index:<number>

Attributes
chunkGraph:<ChunkGraph>
runtimeTemplate:<RuntimeTemplate>

Attributes
request:<string>


Attributes
dependencyType:<string>
resolveToContext:<boolean>