These types are not exported by webpack, but they are available to TypeScript consumers.
extract<HookMap><<SyncBailHook><<Tuple><<any>,<any>,<StatsFactoryContext>>,<void>,<UnsetAdditionalOptions>>>filter<HookMap><<SyncBailHook><<Tuple><<any>,<StatsFactoryContext>,<number>,<number>>,<boolean>|<void>,<UnsetAdditionalOptions>>>filterResults<HookMap><<SyncBailHook><<Tuple><<any>,<StatsFactoryContext>,<number>,<number>>,<boolean>|<void>,<UnsetAdditionalOptions>>>filterSorted<HookMap><<SyncBailHook><<Tuple><<any>,<StatsFactoryContext>,<number>,<number>>,<boolean>|<void>,<UnsetAdditionalOptions>>>getItemFactory<HookMap><<SyncBailHook><<Tuple><<any>,<StatsFactoryContext>>,<void>|<StatsFactory>,<UnsetAdditionalOptions>>>getItemName<HookMap><<SyncBailHook><<Tuple><<any>,<StatsFactoryContext>>,<string>|<void>,<UnsetAdditionalOptions>>>groupResults<HookMap><<SyncBailHook><<Tuple><<GroupConfig><<any>,<any>>[],<StatsFactoryContext>>,<void>,<UnsetAdditionalOptions>>>merge<HookMap><<SyncBailHook><<Tuple><<any>[],<StatsFactoryContext>>,<any>,<UnsetAdditionalOptions>>>result<HookMap><<SyncBailHook><<Tuple><<any>,<StatsFactoryContext>>,<any>,<UnsetAdditionalOptions>>>sort<HookMap><<SyncBailHook><<Tuple><<object>[],<StatsFactoryContext>>,<void>,<UnsetAdditionalOptions>>>sortResults<HookMap><<SyncBailHook><<Tuple><<object>[],<StatsFactoryContext>>,<void>,<UnsetAdditionalOptions>>>
Stats options object.
Attributes
all:
<boolean>Fallback value for stats options when an option is not defined (has precedence over local webpack defaults).
assets:
<boolean>Add assets information.
assetsSort:
<string>
|
<false>Sort the assets by that field.
assetsSpace:
<number>Space to display assets (groups will be collapsed to fit this space).
builtAt:
<boolean>Add built at time information.
cached:
<boolean>Add information about cached (not built) modules (deprecated: use 'cachedModules' instead).
cachedAssets:
<boolean>Show cached assets (setting this to
false
only shows emitted files).cachedModules:
<boolean>Add information about cached (not built) modules.
children:
<boolean>
|
<"none">
|
<"verbose">
|
<"summary">
|
<"errors-only">
|
<"errors-warnings">
|
<"minimal">
|
<"normal">
|
<"detailed">
|
<StatsOptions>
|
<StatsValue>[] Add children information.
chunkGroupAuxiliary:
<boolean>Display auxiliary assets in chunk groups.
chunkGroupChildren:
<boolean>Display children of chunk groups.
chunkGroupMaxAssets:
<number>Limit of assets displayed in chunk groups.
chunkGroups:
<boolean>Display all chunk groups with the corresponding bundles.
chunkModules:
<boolean>Add built modules information to chunk information.
chunkModulesSpace:
<number>Space to display chunk modules (groups will be collapsed to fit this space, value is in number of modules/group).
chunkOrigins:
<boolean>Add the origins of chunks and chunk merging info.
chunkRelations:
<boolean>Add information about parent, children and sibling chunks to chunk information.
chunks:
<boolean>Add chunk information.
chunksSort:
<string>
|
<false>Sort the chunks by that field.
context:
<string>Context directory for request shortening.
dependentModules:
<boolean>Show chunk modules that are dependencies of other modules of the chunk.
depth:
<boolean>Add module depth in module graph.
entrypoints:
<boolean>
|
<"auto">Display the entry points with the corresponding bundles.
env:
<boolean>Add --env information.
errorCause:
<boolean>
|
<"auto">Add cause to errors.
errorDetails:
<boolean>
|
<"auto">Add details to errors (like resolving log).
errorErrors:
<boolean>
|
<"auto">Add nested errors to errors (like in AggregateError).
errors:
<boolean>Add errors.
errorsCount:
<boolean>Add errors count.
errorsSpace:
<number>Space to display errors (value is in number of lines).
errorStack:
<boolean>Add internal stack trace to errors.
exclude:
<string>
|
<boolean>
|
<RegExp>
|
<ModuleFilterItemTypes>[] |
<object>
Please use excludeModules instead.excludeAssets:
<string>
|
<RegExp>
|
<AssetFilterItemTypes>[] |
<object>
Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.excludeModules:
<string>
|
<boolean>
|
<RegExp>
|
<ModuleFilterItemTypes>[] |
<object>
Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.groupAssetsByChunk:
<boolean>Group assets by how their are related to chunks.
groupAssetsByEmitStatus:
<boolean>Group assets by their status (emitted, compared for emit or cached).
groupAssetsByExtension:
<boolean>Group assets by their extension.
groupAssetsByInfo:
<boolean>Group assets by their asset info (immutable, development, hotModuleReplacement, etc).
groupAssetsByPath:
<boolean>Group assets by their path.
groupModulesByAttributes:
<boolean>Group modules by their attributes (errors, warnings, assets, optional, orphan, or dependent).
groupModulesByCacheStatus:
<boolean>Group modules by their status (cached or built and cacheable).
groupModulesByExtension:
<boolean>Group modules by their extension.
groupModulesByLayer:
<boolean>Group modules by their layer.
groupModulesByPath:
<boolean>Group modules by their path.
groupModulesByType:
<boolean>Group modules by their type.
groupReasonsByOrigin:
<boolean>Group reasons by their origin module.
hash:
<boolean>Add the hash of the compilation.
ids:
<boolean>Add ids.
logging:
<boolean>
|
<"error">
|
<"warn">
|
<"info">
|
<"log">
|
<"none">
|
<"verbose">Add logging output.
Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions.
loggingTrace:
<boolean>Add stack traces to logging output.
moduleAssets:
<boolean>Add information about assets inside modules.
modules:
<boolean>Add built modules information.
modulesSort:
<string>
|
<false>Sort the modules by that field.
modulesSpace:
<number>Space to display modules (groups will be collapsed to fit this space, value is in number of modules/groups).
moduleTrace:
<boolean>Add dependencies and origin of warnings/errors.
nestedModules:
<boolean>Add information about modules nested in other modules (like with module concatenation).
nestedModulesSpace:
<number>Space to display modules nested within other modules (groups will be collapsed to fit this space, value is in number of modules/group).
optimizationBailout:
<boolean>Show reasons why optimization bailed out for modules.
orphanModules:
<boolean>Add information about orphan modules.
outputPath:
<boolean>Add output path information.
performance:
<boolean>Add performance hint flags.
providedExports:
<boolean>Show exports provided by modules.
publicPath:
<boolean>Add public path information.
reasons:
<boolean>Add information about the reasons why modules are included.
reasonsSpace:
<number>Space to display reasons (groups will be collapsed to fit this space).
relatedAssets:
<boolean>Add information about assets that are related to other assets (like SourceMaps for assets).
runtime:
<boolean>Add information about runtime modules (deprecated: use 'runtimeModules' instead).
runtimeModules:
<boolean>Add information about runtime modules.
source:
<boolean>Add the source code of modules.
timings:
<boolean>Add timing information.
usedExports:
<boolean>Show exports used by modules.
version:
<boolean>Add webpack version information.
warnings:
<boolean>Add warnings.
warningsCount:
<boolean>Add warnings count.
warningsFilter:
<string>
|
<RegExp>
|
<WarningFilterItemTypes>[] |
<object>
Suppress listing warnings that match the specified filters (they will still be counted). Filters can be Strings, RegExps or Functions.warningsSpace:
<number>Space to display warnings (value is in number of lines).
getItemName<HookMap><<SyncBailHook><<Tuple><<any>,<StatsPrinterContext>>,<string>|<void>,<UnsetAdditionalOptions>>>print<HookMap><<SyncBailHook><<Tuple><<any>,<StatsPrinterContext>>,<string>|<void>|<undefined>,<UnsetAdditionalOptions>>>printElements<HookMap><<SyncBailHook><<Tuple><<PrintedElement[]>,<StatsPrinterContext>>,<string>|<void>|<undefined>,<UnsetAdditionalOptions>>>printItems<HookMap><<SyncBailHook><<Tuple><<string>[],<StatsPrinterContext>>,<string>|<undefined>,<UnsetAdditionalOptions>>>result<HookMap><<SyncWaterfallHook><<Tuple><<string>,<StatsPrinterContext>>,<string>,<UnsetAdditionalOptions>>>sortElements<HookMap><<SyncBailHook><<Tuple><<string>[],<StatsPrinterContext>>,<void>,<UnsetAdditionalOptions>>>sortItems<HookMap><<SyncBailHook><<Tuple><<any>[],<StatsPrinterContext>>,<boolean>|<void>,<UnsetAdditionalOptions>>>
Type:
<KnownStatsChunk>
|
<Record>Type:
<KnownStatsChunkGroup>
|
<Record>Type:
<KnownStatsChunkOrigin>
|
<Record>Type:
<KnownStatsError>
|
<Record>Type:
<KnownStatsFactoryContext>
|
<Record>Type:
<KnownStatsLoggingEntry>
|
<Record>Type:
<KnownStatsModule>
|
<Record>Type:
<KnownStatsModuleIssuer>
|
<Record>Type:
<KnownStatsModuleReason>
|
<Record>Type:
<KnownStatsModuleTraceDependency>
|
<Record>Type:
<KnownStatsModuleTraceItem>
|
<Record>Type:
<StatsCompilation>
|
<StatsChunkGroup>
|
<StatsChunk>
|
<StatsChunkOrigin>
|
<StatsModule>
|
<StatsModuleReason>
|
<StatsAsset>
|
<StatsModuleTraceItem>
|
<StatsModuleTraceDependency>
|
<StatsError>
|
<unknown>
|
<unknown>Type:
<KnownStatsPrinterColorFunctions>
|
<KnownStatsPrinterFormatters>
|
<KnownStatsPrinterContext>
|
<Record>Type:
<boolean>
|
<StatsOptions>
|
<"none">
|
<"summary">
|
<"errors-only">
|
<"errors-warnings">
|
<"minimal">
|
<"normal">
|
<"detailed">
|
<"verbose">