Registry / devops / webpack-simple-progress-plugin

webpack-simple-progress-plugin

JSON →
library0.0.5jsnpmunverified

A webpack plugin that displays a simple progress bar in the terminal during the build process. Current stable version is 0.0.5, which supports webpack 1 through 5. It uses node-progress and chalk for customizable progress bars and messages. The plugin wraps webpack's ProgressPlugin events to provide real-time feedback. It is lightweight with no unusual overhead, suitable for projects that want a minimalistic progress indicator. Suitable for any webpack project requiring visual progress feedback during builds.

npm install webpack-simple-progress-plugin
INSTALL
IMPORT
SIG · WEBPACK-SIMPLE-PRO
W
webpack-simple-progress-plugin
devopsjavascriptv0.0.5
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.

SimpleProgressPlugin
const SimpleProgressPlugin = require('webpack-simple-progress-plugin');
import SimpleProgressPlugin from 'webpack-simple-progress-plugin';
This package does not ship ESM; use CommonJS require. The export is a function that returns a plugin instance.
SimpleProgressPlugin
const SimpleProgressPlugin = require('webpack-simple-progress-plugin').default;
const SimpleProgressPlugin = require('webpack-simple-progress-plugin');
In version 0.0.x, the default export is the plugin constructor itself, but some bundlers may require .default if transpiled. Check your setup.
PluginOptions
No TypeScript type exports are provided.
import { PluginOptions } from 'webpack-simple-progress-plugin';
The package does not export TypeScript types. Use JSDoc or declare your own types.

Basic webpack configuration using CommonJS require with custom progress bar styling and message template.

const SimpleProgressPlugin = require('webpack-simple-progress-plugin'); module.exports = { entry: './src/index.js', output: { path: path.resolve(__dirname, 'dist'), filename: 'bundle.js' }, plugins: [ new SimpleProgressPlugin({ messageTemplate: [':bar', ':percent', ':msg'].join(' '), progressOptions: { complete: '█', incomplete: '░', width: 30, total: 100, clear: false } }) ] };
Debug
Known issues
breakingVersions before 0.0.5 do not support webpack 5. Update to 0.0.5 if using webpack 5.
fix
npm install webpack-simple-progress-plugin@latest --save-dev
affects: <0.0.5
deprecatedThe package uses chalk v2 syntax, which may be incompatible with chalk v5+. Consider using a different progress plugin or pinning chalk to v2.
fix
Add "chalk": "^2.4.2" as a direct dependency in your package.json, or use a plugin that supports modern chalk.
affects: >=0.0.1
gotchaThe plugin may not display correctly in non-TTY environments (e.g., CI logs with no terminal).
fix
Conditionally enable the plugin only for interactive terminals using process.stdout.isTTY.
affects: >=0.0.1
gotchaThe progress bar is rendered using node-progress; if multiple instances run simultaneously, output may overlap.
fix
Ensure only one instance of the plugin is used per compilation.
affects: >=0.0.1
Errors
Common errors & fixes
Cannot find module 'chalk'
chalk is a peer dependency but not installed automatically.
fix
Run 'npm install chalk@^2.4.2 --save-dev' or add chalk to your project dependencies.
TypeError: SimpleProgressPlugin is not a constructor
The import was done using ES modules (import) instead of CommonJS require.
fix
Use 'const SimpleProgressPlugin = require('webpack-simple-progress-plugin');' instead of 'import'.
Error: webpack-simple-progress-plugin: webpack version 5 is not supported.
Installed version is older than 0.0.5 which does not support webpack 5.
fix
Update to version 0.0.5 or later: 'npm install webpack-simple-progress-plugin@latest --save-dev'.
Upgrade
Version history
0.0.5latest on npm
Audit
Dependencies
webpackrequiredpeer dependency: required to function as a webpack plugin
chalkrequiredused for coloring the progress bar and message
node-progressrequiredused to render the progress bar with customizable tokens
Agent activity
8 hits · last 30 days
node
8
Resources
webpack-simple-progress-plugin — npm install webpack-simple-progress-plugin · libregistry