A webpack plugin that provides a prettier, colorful console output during and after webpack compilation. The current stable version is 2.3.1, with an older maintenance cadence (last update 2018). It replaces the default webpack build logs with a nicer formatted display, including optional progress bar, build time, and configurable colors and display name. Differentiators include simplicity and zero-config setup, though it is less maintained compared to alternatives like webpack-dashboard or friendly-errors-webpack-plugin. No dependencies required for basic use.
npm install webpack-nicelogVerified import paths — ran on the pinned version, not inferred.
Configures webpack-nicelog with a custom display name, green color, screen clearing, and build time display.
Switch to webpack's 'infrastructureLogging.level' or use alternatives like 'webpack-dashboard'.
Set 'clearScreen: false' or ensure terminal compatibility.
Set webpack's 'stats' configuration to minimal or use 'infrastructureLogging' to reduce noise.
Update callback to handle stats object changes, such as using 'stats.toJson()'.
Provide a valid web color name or hex code (e.g., '#ff0000').
Use 'const WebpackNiceLog = require('webpack-nicelog')' or 'import WebpackNiceLog from 'webpack-nicelog''.Run 'npm install webpack-nicelog --save-dev' or 'yarn add webpack-nicelog --dev'.
If using ESM, ensure Node >=12 and add 'type': 'module' to package.json, or use CommonJS require.
Upgrade to a compatible webpack version or use alternative logging plugin.
No dependency data recorded yet.