Interface: StatsOptions
Defined in: webpack/types.d.ts:18014 Stats options object.Properties
all?
Defined in: webpack/types.d.ts:18018 Fallback value for stats options when an option is not defined (has precedence over local webpack defaults).optionalall:boolean
assets?
Defined in: webpack/types.d.ts:18023 Add assets information.optionalassets:boolean
assetsSort?
Defined in: webpack/types.d.ts:18028 Sort the assets by that field.optionalassetsSort:string|false
assetsSpace?
Defined in: webpack/types.d.ts:18033 Space to display assets (groups will be collapsed to fit this space).optionalassetsSpace:number
builtAt?
Defined in: webpack/types.d.ts:18038 Add built at time information.optionalbuiltAt:boolean
cached?
Defined in: webpack/types.d.ts:18043 Add information about cached (not built) modules (deprecated: use ‘cachedModules’ instead).optionalcached:boolean
cachedAssets?
Defined in: webpack/types.d.ts:18048 Show cached assets (setting this tooptionalcachedAssets:boolean
false only shows emitted files).
cachedModules?
Defined in: webpack/types.d.ts:18053 Add information about cached (not built) modules.optionalcachedModules:boolean
children?
Defined in: webpack/types.d.ts:18058 Add children information.optionalchildren:boolean|"none"|"normal"|"summary"|"verbose"|"errors-only"|"errors-warnings"|"minimal"|"detailed"|StatsOptions|StatsValue[]
chunkGroupAuxiliary?
Defined in: webpack/types.d.ts:18074 Display auxiliary assets in chunk groups.optionalchunkGroupAuxiliary:boolean
chunkGroupChildren?
Defined in: webpack/types.d.ts:18079 Display children of chunk groups.optionalchunkGroupChildren:boolean
chunkGroupMaxAssets?
Defined in: webpack/types.d.ts:18084 Limit of assets displayed in chunk groups.optionalchunkGroupMaxAssets:number
chunkGroups?
Defined in: webpack/types.d.ts:18089 Display all chunk groups with the corresponding bundles.optionalchunkGroups:boolean
chunkModules?
Defined in: webpack/types.d.ts:18094 Add built modules information to chunk information.optionalchunkModules:boolean
chunkModulesSpace?
Defined in: webpack/types.d.ts:18099 Space to display chunk modules (groups will be collapsed to fit this space, value is in number of modules/group).optionalchunkModulesSpace:number
chunkOrigins?
Defined in: webpack/types.d.ts:18104 Add the origins of chunks and chunk merging info.optionalchunkOrigins:boolean
chunkRelations?
Defined in: webpack/types.d.ts:18109 Add information about parent, children and sibling chunks to chunk information.optionalchunkRelations:boolean
chunks?
Defined in: webpack/types.d.ts:18114 Add chunk information.optionalchunks:boolean
chunksSort?
Defined in: webpack/types.d.ts:18119 Sort the chunks by that field.optionalchunksSort:string|false
colors?
Defined in: webpack/types.d.ts:18124 Enables/Disables colorful output.optionalcolors:boolean| {bold?:string;cyan?:string;green?:string;magenta?:string;red?:string;yellow?:string; }
Type Declaration
boolean
{ bold?: string; cyan?: string; green?: string; magenta?: string; red?: string; yellow?: string; }
bold?
Custom color for bold text.optionalbold:string
cyan?
Custom color for cyan text.optionalcyan:string
green?
Custom color for green text.optionalgreen:string
magenta?
Custom color for magenta text.optionalmagenta:string
red?
Custom color for red text.optionalred:string
yellow?
Custom color for yellow text.optionalyellow:string
context?
Defined in: webpack/types.d.ts:18156 Context directory for request shortening.optionalcontext:string
dependentModules?
Defined in: webpack/types.d.ts:18161 Show chunk modules that are dependencies of other modules of the chunk.optionaldependentModules:boolean
depth?
Defined in: webpack/types.d.ts:18166 Add module depth in module graph.optionaldepth:boolean
entrypoints?
Defined in: webpack/types.d.ts:18171 Display the entry points with the corresponding bundles.optionalentrypoints:boolean|"auto"
env?
Defined in: webpack/types.d.ts:18176 Add —env information.optionalenv:boolean
errorCause?
Defined in: webpack/types.d.ts:18181 Add cause to errors.optionalerrorCause:boolean|"auto"
errorDetails?
Defined in: webpack/types.d.ts:18186 Add details to errors (like resolving log).optionalerrorDetails:boolean|"auto"
errorErrors?
Defined in: webpack/types.d.ts:18191 Add nested errors to errors (like in AggregateError).optionalerrorErrors:boolean|"auto"
errors?
Defined in: webpack/types.d.ts:18201 Add errors.optionalerrors:boolean
errorsCount?
Defined in: webpack/types.d.ts:18206 Add errors count.optionalerrorsCount:boolean
errorsSpace?
Defined in: webpack/types.d.ts:18211 Space to display errors (value is in number of lines).optionalerrorsSpace:number
errorStack?
Defined in: webpack/types.d.ts:18196 Add internal stack trace to errors.optionalerrorStack:boolean
exclude?
Defined in: webpack/types.d.ts:18216 Please use excludeModules instead.optionalexclude:string|boolean|RegExp|ModuleFilterItemTypes[] | (name,module,type) =>boolean
excludeAssets?
Defined in: webpack/types.d.ts:18230 Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.optionalexcludeAssets:string|RegExp|AssetFilterItemTypes[] | (name,asset) =>boolean
excludeModules?
Defined in: webpack/types.d.ts:18239 Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.optionalexcludeModules:string|boolean|RegExp|ModuleFilterItemTypes[] | (name,module,type) =>boolean
groupAssetsByChunk?
Defined in: webpack/types.d.ts:18253 Group assets by how their are related to chunks.optionalgroupAssetsByChunk:boolean
groupAssetsByEmitStatus?
Defined in: webpack/types.d.ts:18258 Group assets by their status (emitted, compared for emit or cached).optionalgroupAssetsByEmitStatus:boolean
groupAssetsByExtension?
Defined in: webpack/types.d.ts:18263 Group assets by their extension.optionalgroupAssetsByExtension:boolean
groupAssetsByInfo?
Defined in: webpack/types.d.ts:18268 Group assets by their asset info (immutable, development, hotModuleReplacement, etc).optionalgroupAssetsByInfo:boolean
groupAssetsByPath?
Defined in: webpack/types.d.ts:18273 Group assets by their path.optionalgroupAssetsByPath:boolean
groupModulesByAttributes?
Defined in: webpack/types.d.ts:18278 Group modules by their attributes (errors, warnings, assets, optional, orphan, or dependent).optionalgroupModulesByAttributes:boolean
groupModulesByCacheStatus?
Defined in: webpack/types.d.ts:18283 Group modules by their status (cached or built and cacheable).optionalgroupModulesByCacheStatus:boolean
groupModulesByExtension?
Defined in: webpack/types.d.ts:18288 Group modules by their extension.optionalgroupModulesByExtension:boolean
groupModulesByLayer?
Defined in: webpack/types.d.ts:18293 Group modules by their layer.optionalgroupModulesByLayer:boolean
groupModulesByPath?
Defined in: webpack/types.d.ts:18298 Group modules by their path.optionalgroupModulesByPath:boolean
groupModulesByType?
Defined in: webpack/types.d.ts:18303 Group modules by their type.optionalgroupModulesByType:boolean
groupReasonsByOrigin?
Defined in: webpack/types.d.ts:18308 Group reasons by their origin module.optionalgroupReasonsByOrigin:boolean
hash?
Defined in: webpack/types.d.ts:18313 Add the hash of the compilation.optionalhash:boolean
ids?
Defined in: webpack/types.d.ts:18318 Add ids.optionalids:boolean
logging?
Defined in: webpack/types.d.ts:18323 Add logging output.optionallogging:boolean|"none"|"error"|"warn"|"info"|"log"|"verbose"
loggingDebug?
Defined in: webpack/types.d.ts:18328 Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions.optionalloggingDebug:string|boolean|RegExp|FilterItemTypes[] | (value) =>boolean
loggingTrace?
Defined in: webpack/types.d.ts:18338 Add stack traces to logging output.optionalloggingTrace:boolean
moduleAssets?
Defined in: webpack/types.d.ts:18343 Add information about assets inside modules.optionalmoduleAssets:boolean
modules?
Defined in: webpack/types.d.ts:18353 Add built modules information.optionalmodules:boolean
modulesSort?
Defined in: webpack/types.d.ts:18358 Sort the modules by that field.optionalmodulesSort:string|false
modulesSpace?
Defined in: webpack/types.d.ts:18363 Space to display modules (groups will be collapsed to fit this space, value is in number of modules/groups).optionalmodulesSpace:number
moduleTrace?
Defined in: webpack/types.d.ts:18348 Add dependencies and origin of warnings/errors.optionalmoduleTrace:boolean
nestedModules?
Defined in: webpack/types.d.ts:18368 Add information about modules nested in other modules (like with module concatenation).optionalnestedModules:boolean
nestedModulesSpace?
Defined in: webpack/types.d.ts:18373 Space to display modules nested within other modules (groups will be collapsed to fit this space, value is in number of modules/group).optionalnestedModulesSpace:number
optimizationBailout?
Defined in: webpack/types.d.ts:18378 Show reasons why optimization bailed out for modules.optionaloptimizationBailout:boolean
orphanModules?
Defined in: webpack/types.d.ts:18383 Add information about orphan modules.optionalorphanModules:boolean
outputPath?
Defined in: webpack/types.d.ts:18388 Add output path information.optionaloutputPath:boolean
performance?
Defined in: webpack/types.d.ts:18393 Add performance hint flags.optionalperformance:boolean
preset?
Defined in: webpack/types.d.ts:18398 Preset for the default values.optionalpreset:string|boolean
providedExports?
Defined in: webpack/types.d.ts:18403 Show exports provided by modules.optionalprovidedExports:boolean
publicPath?
Defined in: webpack/types.d.ts:18408 Add public path information.optionalpublicPath:boolean
reasons?
Defined in: webpack/types.d.ts:18413 Add information about the reasons why modules are included.optionalreasons:boolean
reasonsSpace?
Defined in: webpack/types.d.ts:18418 Space to display reasons (groups will be collapsed to fit this space).optionalreasonsSpace:number
relatedAssets?
Defined in: webpack/types.d.ts:18423 Add information about assets that are related to other assets (like SourceMaps for assets).optionalrelatedAssets:boolean
runtime?
Defined in: webpack/types.d.ts:18428 Add information about runtime modules (deprecated: use ‘runtimeModules’ instead).optionalruntime:boolean
runtimeModules?
Defined in: webpack/types.d.ts:18433 Add information about runtime modules.optionalruntimeModules:boolean
source?
Defined in: webpack/types.d.ts:18438 Add the source code of modules.optionalsource:boolean
timings?
Defined in: webpack/types.d.ts:18443 Add timing information.optionaltimings:boolean
usedExports?
Defined in: webpack/types.d.ts:18448 Show exports used by modules.optionalusedExports:boolean
version?
Defined in: webpack/types.d.ts:18453 Add webpack version information.optionalversion:boolean
warnings?
Defined in: webpack/types.d.ts:18458 Add warnings.optionalwarnings:boolean
warningsCount?
Defined in: webpack/types.d.ts:18463 Add warnings count.optionalwarningsCount:boolean
warningsFilter?
Defined in: webpack/types.d.ts:18468 Suppress listing warnings that match the specified filters (they will still be counted). Filters can be Strings, RegExps or Functions.optionalwarningsFilter:string|RegExp|WarningFilterItemTypes[] | (warning,warningString) =>boolean
warningsSpace?
Defined in: webpack/types.d.ts:18477 Space to display warnings (value is in number of lines).optionalwarningsSpace:number