{"id":20062,"library":"ghost-progress-webpack-plugin","title":"Ghost Progress Webpack Plugin","description":"A lightweight, zero-side-effect progress plugin for webpack (v3+). Version 0.1.0 (stable, no recent updates). Unlike other progress plugins, it does not interfere with tool output or leave messy logs, making it ideal for development builds. Supports three output formats: compact, detailed, and bar. Peer dependency on webpack >=3.0.0. Not recommended for CI environments.","status":"active","version":"0.1.0","language":"javascript","source_language":"en","source_url":"https://github.com/ZSkycat/ghost-progress-webpack-plugin","tags":["javascript","webpack","plugin","progress"],"install":[{"cmd":"npm install ghost-progress-webpack-plugin","lang":"bash","label":"npm"},{"cmd":"yarn add ghost-progress-webpack-plugin","lang":"bash","label":"yarn"},{"cmd":"pnpm add ghost-progress-webpack-plugin","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency; required for functionality","package":"webpack","optional":false}],"imports":[{"note":"The default export is not provided; named export must be used. CommonJS destructuring is also correct: const { GhostProgressWebpackPlugin } = require('...')","wrong":"const GhostProgressWebpackPlugin = require('ghost-progress-webpack-plugin')","symbol":"GhostProgressWebpackPlugin","correct":"import { GhostProgressWebpackPlugin } from 'ghost-progress-webpack-plugin'"},{"note":"As of v0.1.0, there is no default export; this import yields undefined. Use named import instead.","wrong":"const GhostProgressWebpackPlugin = require('ghost-progress-webpack-plugin')","symbol":"GhostProgressWebpackPlugin (as default)","correct":"import GhostProgressWebpackPlugin from 'ghost-progress-webpack-plugin'"},{"note":"Direct require returns an object with named export, not the constructor itself.","wrong":"const GhostProgressWebpackPlugin = require('ghost-progress-webpack-plugin')","symbol":"module.exports","correct":"const { GhostProgressWebpackPlugin } = require('ghost-progress-webpack-plugin')"}],"quickstart":{"code":"// webpack.config.js\nconst { GhostProgressWebpackPlugin } = require('ghost-progress-webpack-plugin');\n\nmodule.exports = {\n  entry: './src/index.js',\n  output: {\n    path: __dirname + '/dist',\n    filename: 'bundle.js'\n  },\n  plugins: [\n    new GhostProgressWebpackPlugin({ format: 'bar' })\n  ]\n};","lang":"javascript","description":"Adds a clean progress bar to webpack builds. Uses the 'bar' format for visual feedback."},"warnings":[{"fix":"Use simple-progress-webpack-plugin in CI or disable the plugin conditionally.","message":"Plugin is not suitable for CI environments; output may be confusing or absent.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Test with your webpack version; consider updating to webpack 5 and a more modern progress plugin.","message":"Webpack 3 is outdated; plugin may not work with webpack 4+ although peer dep allows >=3.","severity":"deprecated","affected_versions":">=0.0.0"},{"fix":"Use import { GhostProgressWebpackPlugin } from 'ghost-progress-webpack-plugin' or const { GhostProgressWebpackPlugin } = require(...).","message":"Default import returns undefined; must use named import.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Set options.stream to a custom stream if needed.","message":"The plugin writes to stderr by default; may interfere with some log parsers.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Use named import: import { GhostProgressWebpackPlugin } from 'ghost-progress-webpack-plugin'","cause":"Using default import which is undefined.","error":"TypeError: GhostProgressWebpackPlugin is not a constructor"},{"fix":"Run npm install --save-dev ghost-progress-webpack-plugin and ensure webpack >=3.","cause":"Package not installed or webpack version incompatible.","error":"Module not found: Can't resolve 'ghost-progress-webpack-plugin'"},{"fix":"Upgrade webpack to version 3 or later.","cause":"Trying to use with webpack <3.","error":"Error: GhostProgressWebpackPlugin requires webpack 3.0 or higher"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}