Registry / devops / simple-progress-webpack-plugin

simple-progress-webpack-plugin

JSON →
library2.0.0jsnpmunverified

A simple progress plugin for Webpack (v2.0.0, last released 2022, infrequent updates) that provides detailed, visually appealing build progress in the command line. It supports four output formats: minimal, simple, compact (default), expanded, and verbose. Requires Node.js 12+. Alternative to webpack's built-in progress plugin or ProgressBarPlugin.

npm install simple-progress-webpack-plugin
INSTALL
IMPORT
SIG · SIMPLE-PROGRESS-WE
S
simple-progress-webpack-plugin
devopsjavascriptv2.0.0
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.

SimpleProgressWebpackPlugin
const SimpleProgressWebpackPlugin = require('simple-progress-webpack-plugin');
import SimpleProgressWebpackPlugin from 'simple-progress-webpack-plugin';
CommonJS is the standard for webpack config files; ESM import may not work in all Node.js versions.
SimpleProgressWebpackPlugin
import SimpleProgressWebpackPlugin = require('simple-progress-webpack-plugin');
import { SimpleProgressWebpackPlugin } from 'simple-progress-webpack-plugin';
Default export is the class itself, not a named export.
Options
import type { Options } from 'simple-progress-webpack-plugin';
import { Options } from 'simple-progress-webpack-plugin';
Type import for TypeScript; options interface is not a runtime value.

Instantiates SimpleProgressWebpackPlugin with default options in a webpack config file.

// webpack.config.js const SimpleProgressWebpackPlugin = require('simple-progress-webpack-plugin'); module.exports = { // ... other webpack config plugins: [ new SimpleProgressWebpackPlugin({ format: 'compact', // optional: minimal, simple, compact, expanded, verbose color: true, // optional: default true name: 'My Build', // optional: custom build name }), ], };
Debug
Known issues
breakingRequires Node.js 12+. Older versions are not supported and may cause errors.
fix
Upgrade Node.js to version 12 or higher.
affects: >=2.0.0
breakingPlugin renamed from 'SimpleProgressPlugin' in v1.x? No, always 'SimpleProgressWebpackPlugin'.
fix
Use the correct class name 'SimpleProgressWebpackPlugin'.
affects: all
deprecatedThe 'format' option 'verbose' may produce excessive output and is intended for debugging only.
fix
Use 'compact', 'expanded', 'simple', or 'minimal' for production.
affects: all
gotchaThe plugin uses chalk internally; color output may not appear on all CI systems (e.g., Jenkins).
fix
Set 'color: false' if colors are not supported.
affects: all
gotchaIn watch mode, the plugin prints progress for each recompilation, which may clutter output.
fix
Use 'minimal' format to reduce output or consider a custom condition.
affects: >=1.0.4
Errors
Common errors & fixes
Error: Cannot find module 'simple-progress-webpack-plugin'
Package not installed or not in node_modules.
fix
Run 'npm install simple-progress-webpack-plugin --save-dev'.
TypeError: SimpleProgressWebpackPlugin is not a constructor
Incorrect import: using a named import instead of default.
fix
Use 'const SimpleProgressWebpackPlugin = require('simple-progress-webpack-plugin');' or 'import SimpleProgressWebpackPlugin from ...' if ESM.
Error: webpack >=2.0.0 is required
Webpack version is too old; plugin requires webpack 2+.
fix
Upgrade webpack to version 2 or higher.
Options.format must be one of: minimal, simple, compact, expanded, verbose
Invalid format string passed to options.
fix
Check the format option and use one of the allowed values.
Upgrade
Version history
2.0.0latest on npm
Audit
Dependencies
webpackrequiredpeer dependency: required to function as a webpack plugin
Agent activity
2 hits · last 30 days
node
2
Resources
simple-progress-webpack-plugin — npm install simple-progress-webpack-plugin · libregistry