npm i -D progress-bar-webpack-plugin
var ProgressBarPlugin = require('progress-bar-webpack-plugin');
...
var webpackConfig = {
entry: 'index.js',
output: {
path: path.resolve(__dirname, './dist'),
filename: 'index_bundle.js'
},
plugins: [
...,
new ProgressBarPlugin({
complete: Chalk.green('█'),
incomplete: Chalk.white('█'),
format: ' build :bar ' + Chalk.green.bold(':percent') + ' (:elapsed seconds)'
})
]
};