diff --git a/packages/webpack/src/config/client.js b/packages/webpack/src/config/client.js index 1d4ab2b359..7d4cc43129 100644 --- a/packages/webpack/src/config/client.js +++ b/packages/webpack/src/config/client.js @@ -176,7 +176,7 @@ export default class WebpackClientConfig extends WebpackBaseConfig { } // Add friendly error plugin - if (this.options.dev && !this.options.build.quiet && !this.options.build.friendlyErrors) { + if (this.options.dev && !this.options.build.quiet && this.options.build.friendlyErrors) { config.plugins.push( new FriendlyErrorsWebpackPlugin({ clearConsole: false,