ghost-progress-webpack-plugin

A no side effects progress plugin for webpack.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
ghost-progress-webpack-plugin
410.1.04 years ago4 years agoMinified + gzip package size for ghost-progress-webpack-plugin in KB

Readme

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