These types are not exported by webpack, but they are available to TypeScript consumers.
[index: {string}]<ChunkId>[]
[index: {string}]<ChunkChildIdsByOrdersMap>
Attributes
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: {string}]<string>
-
[index: {number}]<ModuleId>[] -
[index: {string}]<ModuleId>[]
Attributes
contentHash<Record><<string>,<string>>contentHashWithLength<Record><<string>,<Function>>hash<string>hashWithLength<Function>id<string>|<number>name<string>
Attributes
chunk:
<Chunk>the chunk
chunkGraph:
<ChunkGraph>the chunk graph
chunkInitFragments:
<InitFragment><
<ChunkRenderContextJavascriptModulesPlugin>
>[] init fragments for the chunkcodeGenerationResults:
<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
[index: {string}]<string>
Returns array of values.
Attributes
auxiliaryFiles:
<string>[]
children:
<ChunkId>[]
entry:
<boolean>files:
<string>[]
filteredModules:
<number>hash:
<string>idHints:
<string>[]
initial:
<boolean>modules:
<StatsModule>[]
names:
<string>[]
origins:
<StatsChunkOrigin>[]
parents:
<ChunkId>[]
reason:
<string>recorded:
<boolean>rendered:
<boolean>runtime:
<string>[]
siblings:
<ChunkId>[]
size:
<number>Returns array of values.
Attributes
Returns array of values.
Attributes
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').
chunks:
<RegExp>
|
<"all">
|
<"initial">
|
<"async">
|
<Function>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.
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>
|
<TemplatePathFn><
<PathDataChunk>
> 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.
maxInitialRequests:
<number>Maximum number of initial chunks which are accepted for an entry point.
minChunks:
<number>Minimum number of times a module has to be duplicated until it's considered for splitting.
Minimal size for the chunks the stay after moving the modules to a new chunk.
name:
<string>
|
<false>
|
<Function>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.
Attributes
Type:
<string>
|
<Function>Attributes
Type:
<PathData>&
<object>Attributes
chunk:
<Chunk>
|
<ChunkPathData>