new ProgressPlugin(options?): ProgressPlugin
Attributes
options:
ProgressPluginArgumentReturns:
ProgressPluginCreates an instance of ProgressPlugin.
Source Code: lib/ProgressPlugin.js#L387Type:
numberType:
booleanprogressPlugin.handler(percentage, msg, ...args?): void
Attributes
Type:
numberType:
"entries" | "dependencies" | "modules" | nullType:
booleanType:
false | "auto" | ObjectType:
stringColor used for the filled portion of the bar.
Type:
stringName shown before the progress bar.
Type:
numberWidth of the progress bar in characters. Default: 25.
Source Code: lib/ProgressPlugin.js#L395Type:
booleanType:
booleanType:
booleanType:
booleanProgressPlugin.createDefaultHandler(profile, logger, options?): (percentage: number, msg: string, args: string[]) => void
Attributes
logger:
WebpackLoggeroptions:
DefaultHandlerOptionsType:
Required<Omit<ProgressPluginOptions, "handler">>progressPlugin.apply(compiler): void
Attributes
compiler:
Compiler | MultiCompilerApplies the plugin by registering its hooks on the compiler.
ProgressPlugin.getReporter(compiler): ((p: number, args: string[]) => void) | undefined
Attributes
Returns a progress reporter, if any.