Registry / devops / progress-webpack-plugin

progress-webpack-plugin

JSON →
library1.0.16jsnpmunverified

A simple Webpack plugin that displays a nice progress bar during builds. Version 1.0.16 is the latest stable release, with no frequent updates. It supports Webpack 2 through 5 and provides a more visually informative progress display compared to the built-in Webpack progress. It offers options for minimal mode, custom identifiers, and lifecycle callbacks (onStart, onFinish, onProgress).

npm install progress-webpack-plugin
INSTALL
IMPORT
SIG · PROGRESS-WEBPACK-P
P
progress-webpack-plugin
devopsjavascriptv1.0.16
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
const ProgressPlugin = require('progress-webpack-plugin')
import ProgressPlugin from 'progress-webpack-plugin'
This package does not provide a default ESM export; use CommonJS require.
new ProgressPlugin(true)
const ProgressPlugin = require('progress-webpack-plugin'); new ProgressPlugin(true)
new require('progress-webpack-plugin')(true)
Instantiate the plugin after requiring it, not as a direct function call.
ProgressPlugin minimal option
new ProgressPlugin({ minimal: true })
new ProgressPlugin({ minimal: 'true' })
minimal expects a boolean, not a string.

Shows a complete webpack.config.js entry with ProgressPlugin, including minimal mode, identifier, and onProgress callback.

const ProgressPlugin = require('progress-webpack-plugin'); module.exports = { entry: './src/index.js', output: { path: __dirname + '/dist', filename: 'bundle.js' }, plugins: [ new ProgressPlugin({ minimal: false, identifier: 'My App', onProgress: (percentage, message) => { console.log(`${Math.round(percentage * 100)}% ${message}`); } }) ] };
Debug
Known issues
gotchaThe first argument to ProgressPlugin is 'minimal' (boolean), not a configuration object in some versions.
fix
Pass a boolean directly or use object syntax with `minimal` key in newer versions.
affects: >=1.0.0 <1.0.16
breakingWebpack 2+ is required; plugin does not work with Webpack 1.
fix
Upgrade to Webpack 2 or higher.
affects: >=1.0.0
deprecatedPackage has not been updated since 2018; may not support future Webpack versions.
fix
Consider alternatives like webpackbar or progress-bar-webpack-plugin.
affects: <=1.0.16
Errors
Common errors & fixes
Cannot find module 'progress-webpack-plugin'
Missing package installation or incorrect import path.
fix
Install package: npm install --save-dev progress-webpack-plugin
TypeError: ProgressPlugin is not a constructor
CommonJS require returns an object with default export or wrong import style.
fix
Use `const ProgressPlugin = require('progress-webpack-plugin')`
Upgrade
Version history
1.0.16latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
progress-webpack-plugin — npm install progress-webpack-plugin · libregistry