A no side effects progress plugin for webpack.
- 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)
npm install --save-dev ghost-progress-webpack-plugin
// import
const GhostProgressWebpackPlugin = require('ghost-progress-webpack-plugin').GhostProgressWebpackPlugin;
// instantiate it in the webpack plugins configuration
plugins: [
new GhostProgressWebpackPlugin()
]
new GhostProgressWebpackPlugin();
new GhostProgressWebpackPlugin(format: string);
new GhostProgressWebpackPlugin(options: object);
Type: 'compact' | 'detailed' | 'bar'
Default: 'compact'
Set the output format.
Type: NodeJS.WriteStream
Default: process.stderr
Set the write stream used by the output.