On this page

Source Code: lib/ProgressPlugin.js#L355
new ProgressPlugin(options?): ProgressPlugin
Source Code: lib/ProgressPlugin.js#L369
Attributes

Creates an instance of ProgressPlugin.

Source Code: lib/ProgressPlugin.js#L387
Type:number
Source Code: lib/ProgressPlugin.js#L410
Type:boolean
progressPlugin.handler(percentage, msg, ...args?): void
Source Code: lib/ProgressPlugin.js#L383
Attributes
percentage:number
msg:string
...args:string[]
Source Code: lib/ProgressPlugin.js#L385
Type:number
Source Code: lib/ProgressPlugin.js#L377
Source Code: lib/ProgressPlugin.js#L396
Type:"entries" | "dependencies" | "modules" | null
Source Code: lib/ProgressPlugin.js#L412
Type:boolean
Source Code: lib/ProgressPlugin.js#L381
Type:boolean | null
Source Code: lib/ProgressPlugin.js#L400
Type:false | "auto" | Object
Type:string

Color used for the filled portion of the bar.

Type:string

Name shown before the progress bar.

Type:number

Width of the progress bar in characters. Default: 25.

Source Code: lib/ProgressPlugin.js#L395
Type:boolean
Source Code: lib/ProgressPlugin.js#L393
Type:boolean
Source Code: lib/ProgressPlugin.js#L389
Type:boolean
Source Code: lib/ProgressPlugin.js#L391
Type:boolean
ProgressPlugin.createDefaultHandler(profile, logger, options?): (percentage: number, msg: string, args: string[]) => void
Attributes
profile:boolean | null | undefined
Returns:(percentage: number, msg: string, args: string[]) => void
Type:Required<Omit<ProgressPluginOptions, "handler">>
progressPlugin.apply(compiler): void
Source Code: lib/ProgressPlugin.js#L420
Attributes

Applies the plugin by registering its hooks on the compiler.

ProgressPlugin.getReporter(compiler): ((p: number, args: string[]) => void) | undefined
Source Code: lib/ProgressPlugin.js#L361
Attributes
compiler:Compiler
Returns:((p: number, args: string[]) => void) | undefined

Returns a progress reporter, if any.