Options
All
  • Public
  • Public/Protected
  • All
Menu

Stats options object.

Hierarchy

  • StatsOptions

Index

Properties

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

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

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

Sort the chunks by that field.

colors?: boolean | { bold?: string; cyan?: string; green?: string; magenta?: string; red?: string; yellow?: string }

Enables/Disables colorful output.

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.

errorDetails?: boolean | "auto"

Add details to errors (like resolving log).

errorStack?: boolean

Add internal stack trace to errors.

errors?: boolean

Add errors.

errorsCount?: boolean

Add errors count.

errorsSpace?: number

Space to display errors (value is in number of lines).

exclude?: string | boolean | RegExp | ModuleFilterItemTypes[] | ((name: string, module: StatsModule, type: "module" | "chunk" | "root-of-chunk" | "nested") => boolean)

Please use excludeModules instead.

excludeAssets?: string | RegExp | AssetFilterItemTypes[] | ((name: string, asset: StatsAsset) => boolean)

Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.

excludeModules?: string | boolean | RegExp | ModuleFilterItemTypes[] | ((name: string, module: StatsModule, type: "module" | "chunk" | "root-of-chunk" | "nested") => boolean)

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 | "none" | "error" | "warn" | "info" | "log" | "verbose"

Add logging output.

loggingDebug?: string | boolean | RegExp | FilterItemTypes[] | ((value: string) => boolean)

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.

moduleTrace?: boolean

Add dependencies and origin of warnings/errors.

modules?: boolean

Add built modules information.

modulesSort?: string

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).

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.

preset?: string | boolean

Preset for the default values.

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[] | ((warning: StatsError, value: string) => boolean)

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).