mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 09:33:54 +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
|
// Build progress bar
|
||||||
if (this.options.build.profile) {
|
if (this.options.build.profile) {
|
||||||
config.plugins.push(new ProgressPlugin({
|
config.plugins.push(new ProgressPlugin({
|
||||||
@ -104,10 +101,14 @@ module.exports = function webpackClientConfig() {
|
|||||||
config.plugins.push(new ProgressBarPlugin({
|
config.plugins.push(new ProgressBarPlugin({
|
||||||
complete: Chalk.green('█'),
|
complete: Chalk.green('█'),
|
||||||
incomplete: Chalk.white('█'),
|
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
|
// Dev specific config
|
||||||
// --------------------------------------
|
// --------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user