webpack-nicelog

    2.3.1 • Public • Published

    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

    Install

    npm i webpack-nicelog

    DownloadsWeekly Downloads

    83

    Version

    2.3.1

    License

    MIT

    Unpacked Size

    4.04 kB

    Total Files

    6

    Last publish

    Collaborators

    • endiliey