mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix: ProgressBarPlugin ends at 91%
This commit is contained in:
parent
4adfdf3313
commit
0fc98f3927
@ -92,9 +92,6 @@ module.exports = function webpackClientConfig() {
|
||||
}))
|
||||
)
|
||||
|
||||
// Add friendly error plugin
|
||||
config.plugins.push(new FriendlyErrorsWebpackPlugin())
|
||||
|
||||
// Build progress bar
|
||||
if (this.options.build.profile) {
|
||||
config.plugins.push(new ProgressPlugin({
|
||||
@ -104,10 +101,14 @@ module.exports = function webpackClientConfig() {
|
||||
config.plugins.push(new ProgressBarPlugin({
|
||||
complete: Chalk.green('█'),
|
||||
incomplete: Chalk.white('█'),
|
||||
format: ' :bar ' + Chalk.green.bold(':percent') + ' :msg'
|
||||
format: ' :bar ' + Chalk.green.bold(':percent') + ' :msg',
|
||||
clear: false
|
||||
}))
|
||||
}
|
||||
|
||||
// Add friendly error plugin
|
||||
config.plugins.push(new FriendlyErrorsWebpackPlugin())
|
||||
|
||||
// --------------------------------------
|
||||
// Dev specific config
|
||||
// --------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user