$ cnpm install webpack-nicelog

$ npm install webpack-nicelog --save-dev
// webpack.config.js
const WebpackNiceLog = require('webpack-nicelog');
module.exports = {
// ...
plugins: [
new WebpackNiceLog()
]
}
namewebpackDisplay name
skipBuildTimeDo not show build time e.g: Build finished in 1234 ms
clearScreenClear screen after every compilation.
colorgreenDisplay color (can be HEX like #xxyyzz or a web color like green).
streamprocess.stderrOutput stream.
minimalHide progress bar and only show Compiling/Compiled messages.
onDoneFunction(stats)A function that will be called when all builds are finished (no errors).
MIT © Endilie Yacop Sucipto
Copyright 2013 - present © cnpmjs.org | Home |