On this page

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





Attributes
chunkGroup:<ChunkGroup>

Attributes
chunkGraph:<ChunkGraph>
the chunk graph
codeGenerationResults:<CodeGenerationResults>
results of code generation
moduleGraph:<ModuleGraph>
the module graph
runtimeTemplate:<RuntimeTemplate>
the runtime template


  • contentHash {Record<ChunkId, Record<string, string>>}
  • hash {Record<ChunkId, string>}
  • name {Record<ChunkId, string>}


  • [index: {number}] {IdToHashMap}

  • [index: {string}] {IdToHashMap}




Attributes
end id
the chunk name
order:
{"index"|"preOrderIndex"|"index2"|"postOrderIndex"} order
start:<number>
start id


Attributes


Attributes
chunk:<Chunk>
the chunk
chunkGraph:<ChunkGraph>
the chunk graph
codeGenerationResults:<CodeGenerationResults>
results of code generation
moduleFactoryCache:
{WeakMap<Source, ModuleFactoryCacheEntry>} moduleFactoryCache
moduleSourceContent:<Source>
content
runtimeTemplate:<RuntimeTemplate>
the runtime template
undoPath:<string>
undo path to css file

Attributes
chunk:<Chunk>
the chunk
chunkGraph:<ChunkGraph>
the chunk graph
chunkInitFragments:
{InitFragment []} init fragments for the chunk
codeGenerationResults:<CodeGenerationResults>
results of code generation
dependencyTemplates:<DependencyTemplates>
the dependency templates
moduleGraph:<ModuleGraph>
the module graph
runtimeTemplate:<RuntimeTemplate>
the runtime template
strictMode:<boolean>
rendering in strict context


Attributes
chunkOverhead:<number>
constant overhead for a chunk
entryChunkMultiplicator:<number>
multiplicator for initial chunks

Attributes
context:<string>
context for ids
maxLength:<number>
maximum length of ids


Attributes
auxiliaryFiles:<string[]>
children:<ChunkId[]>
childrenByOrder:
{Record<string, ChunkId[]>}
entry:<boolean>
filteredModules:<number>
idHints:<string[]>
initial:<boolean>
parents:<ChunkId[]>
reason:<string>
recorded:<boolean>
rendered:<boolean>
runtime:<string[]>
siblings:<ChunkId[]>
sizes:
{Record<string, number>}

Attributes
assets:<object[]>
assetsSize:<number>
auxiliaryAssets:<object[]>
auxiliaryAssetsSize:<number>
childAssets:
{Record<string, string[]>}
children:
{Record<string, StatsChunkGroup[]>}
filteredAssets:<number>
filteredAuxiliaryAssets:<number>
isOverSizeLimit:<boolean>

Attributes
module:<string>
moduleId:<string> | <number>
moduleIdentifier:<string>
moduleName:<string>
request:<string>

Attributes
chunkOverhead:<number>
Constant overhead for a chunk.
entryChunkMultiplicator:<number>
Multiplicator for initial chunks.
maxChunks:<number>
Limit the maximum number of chunks using a value greater than or equal to 1.

Attributes
stage:<number>
Specifies the stage for merging duplicate chunks.

Attributes
chunkOverhead:<number>
Constant overhead for a chunk.
entryChunkMultiplicator:<number>
Multiplicator for initial chunks.
minChunkSize:<number>
Minimum number of characters.

Attributes
context:<string>
context
delimiter:<string>
delimiter

Attributes
prioritiseInitial:<boolean>
Prioritise initial size over total size.

Options object for splitting chunks into smaller chunks.

Attributes
automaticNameDelimiter:<string>
Sets the name delimiter for created chunks.
cacheGroups:<object>
Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks, default categories: 'default', 'defaultVendors').
Select chunks for determining shared modules (defaults to "async", "initial" and "all" requires adding these chunks to the HTML).
defaultSizeTypes:<string[]>
Sets the size types which are used when a number is used for sizes.
enforceSizeThreshold:<number> | <object>
Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.
fallbackCacheGroup:<object>
Options for modules not selected by any other cache group.
filename:<string> | <object>
Sets the template for the filename for created chunks.
hidePathInfo:<boolean>
Prevents exposing path info when creating names for parts splitted by maxSize.
maxAsyncRequests:<number>
Maximum number of requests which are accepted for on-demand loading.
maxAsyncSize:<number> | <object>
Maximal size hint for the on-demand chunks.
maxInitialRequests:<number>
Maximum number of initial chunks which are accepted for an entry point.
maxInitialSize:<number> | <object>
Maximal size hint for the initial chunks.
maxSize:<number> | <object>
Maximal size hint for the created chunks.
minChunks:<number>
Minimum number of times a module has to be duplicated until it's considered for splitting.
minRemainingSize:<number> | <object>
Minimal size for the chunks the stay after moving the modules to a new chunk.
minSize:<number> | <object>
Minimal size for the created chunks.
minSizeReduction:<number> | <object>
Minimum size reduction due to the created chunk.
Give chunks created a name (chunks with equal name are merged).
usedExports:<boolean>
Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.

  • fetchPriority {"auto"|"low"|"high"}
  • prefetchOrder <number>
  • preloadOrder <number>

  • byName {Record<string, number>}
  • bySource {Record<string, number>}
  • usedIds <number[]>

Attributes
automaticNameDelimiter:<string>
chunksFilter:<object>
defaultSizeTypes:<string[]>
enforceSizeThreshold:<SplitChunksSizes>
fallbackCacheGroup:<FallbackCacheGroup>
filename:<string> | <object>
getCacheGroups:<object>
getName:<object>
hidePathInfo:<boolean>
maxAsyncRequests:<number>
maxAsyncSize:<SplitChunksSizes>
maxInitialRequests:<number>
maxInitialSize:<SplitChunksSizes>
minChunks:<number>
minRemainingSize:<SplitChunksSizes>
minSizeReduction:<SplitChunksSizes>
usedExports:<boolean>


Attributes
columns:<boolean>
finalSource:<boolean>
source:<boolean>

Attributes