Installation:
yarn add webpackbar
Copy the code
Modify the webpack.config.js file:
const WebpackBar = require('webpackbar')
plugins: [
// ...
new webpack.ProgressPlugin(),
new WebpackBar()
]
Copy the code
Webpack.progressplugin () is a webpack-built plug-in for webpack.progressplugin