Package Exports
- ghost-progress-webpack-plugin
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ghost-progress-webpack-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ghost-progress-webpack-plugin
A no side effects progress plugin for webpack.
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)
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'
'detailed'
'bar'
options.stream
Type: NodeJS.WriteStream
Default: process.stderr
Set the write stream used by the output.