Registry /
devops / simple-progress-webpack-plugin
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
muslnode 18–226 runs
build_error
glibcnode 18–226 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
}),
],
};
Errors
Common errors & fixes
Error: Cannot find module 'simple-progress-webpack-plugin'
Package not installed or not in node_modules.
fixRun 'npm install simple-progress-webpack-plugin --save-dev'.
TypeError: SimpleProgressWebpackPlugin is not a constructor
Incorrect import: using a named import instead of default.
fixUse '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+.
fixUpgrade webpack to version 2 or higher.
Options.format must be one of: minimal, simple, compact, expanded, verbose
Invalid format string passed to options.
fixCheck the format option and use one of the allowed values.
Audit
Dependencies
webpackrequiredpeer dependency: required to function as a webpack plugin