ghost-progress-webpack-plugin

0.1.0 • Public • Published

ghost-progress-webpack-plugin

version downloads

A no side effects progress plugin for webpack.

Languages: English | 中文

Feature

  • Will not affect output from other tools
  • Will not leave ugly output
  • Not suitable for use in a CI environment (can use simple-progress-webpack-plugin)

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

Readme

Keywords

Package Sidebar

Install

npm i ghost-progress-webpack-plugin

Weekly Downloads

871

Version

0.1.0

License

MIT

Unpacked Size

39.7 kB

Total Files

24

Last publish

Collaborators

  • zskycat