diff --git a/lib/builder/webpack/client.config.js b/lib/builder/webpack/client.config.js index 393e7f0e97..88c815e22d 100644 --- a/lib/builder/webpack/client.config.js +++ b/lib/builder/webpack/client.config.js @@ -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 // --------------------------------------