webpack-nicelog

Nicer log for your webpack :)

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
webpack-nicelog
1302.3.16 years ago6 years agoMinified + gzip package size for webpack-nicelog in KB

Readme

Webpack-NiceLog

preview GIF

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