webpack-nicelog
v2.3.1
Published
Nicer log for your webpack :)
Downloads
185
Maintainers
Readme
Install
$ npm install webpack-nicelog --save-dev
Example Usage
// webpack.config.js
const WebpackNiceLog = require('webpack-nicelog');
module.exports = {
// ...
plugins: [
new WebpackNiceLog()
]
}
API
WebpackNiceLog(options)
Options
name
- Default:
webpack
Display name
skipBuildTime
- Default: false
Do not show build time e.g: Build finished in 1234 ms
clearScreen
- Default: false
Clear screen after every compilation.
color
- Default:
green
Display color (can be HEX like #xxyyzz
or a web color like green
).
stream
- Default:
process.stderr
Output stream.
minimal
- Default: Auto enabled on CI, non-TTY and test environments
Hide progress bar and only show Compiling/Compiled messages.
onDone
- Type:
Function(stats)
A function that will be called when all builds are finished (no errors).
License
MIT © Endilie Yacop Sucipto