0.1.0 • Published 6 years ago

ghost-progress-webpack-plugin v0.1.0

Weekly downloads
443
License
MIT
Repository
github
Last release
6 years ago

ghost-progress-webpack-plugin

version downloads

A no side effects progress plugin for webpack.

Languages: English | 中文

Feature

preview-ghost

Get Started

Installation

npm install --save-dev ghost-progress-webpack-plugin

Usage

// import
const GhostProgressWebpackPlugin = require('ghost-progress-webpack-plugin').GhostProgressWebpackPlugin;

// instantiate it in the webpack plugins configuration
plugins: [
    new GhostProgressWebpackPlugin()
]

API

new GhostProgressWebpackPlugin(format: string);
new GhostProgressWebpackPlugin(options: object);

options.format

Type: 'compact' | 'detailed' | 'bar' Default: 'compact'

Set the output format.

'compact' compact

'detailed' detailed

'bar' bar

options.stream

Type: NodeJS.WriteStream Default: process.stderr

Set the write stream used by the output.

License

MIT