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>

Attributes
the main source order
the sub source order

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

  • attributes {Record<string, string>}
  • externalType {"module"|"import"}

Attributes

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

Attributes
index:<number>

Attributes
chunkGraph:<ChunkGraph>
runtimeTemplate:<RuntimeTemplate>

Attributes
request:<string>


Attributes
dependencyType:<string>
resolveToContext:<boolean>