webpack-simple-progress-plugin
Install
$ npm install webpack-simple-progress-plugin --save-dev
Usage
Add the plugin to your webpack config like below.
var SimpleProgressPlugin = require('webpack-simple-progress-plugin');
var webpackConfig = {
entry: 'index.js',
output: {
path: 'dist',
filename: 'bundle.js'
},
plugins: [
new SimpleProgressPlugin()
]
};
Options
new SimpleProgressPlugin(options: object)
defaults
{
messageTemplate: [':bar', chalk.green(':percent'), ':msg'].join(' ')
progressOptions: {
complete: chalk.bgGreen(' '),
incomplete: chalk.bgWhite(' '),
width: 40,
total: 100,
clear: false
}
}
License
MIT (http://www.opensource.org/licenses/mit-license.php)