webpack-progress-bar
安装 install
npm i webpack-progress-bar -D
yarn add webpack-progress-bar -D
使用 use
const WebpackProgressBar =plugins:
选项 options
// default optionsincomplete:// 'black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white'// '黑色','红色','绿色','黄色','蓝色','品红','青色','白色'bg: 'white'content: ' 'complete:bg: 'green'content: ' 'width: 25 // Control progress bar width. 控制进度条宽度clear: true // Clear the progress bar after compilation is complete.编译完成后清除进度条。total: 100