mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
fix: enable FriendlyErrorsPlugin when build.friendlyErrors is true
This commit is contained in:
parent
6178c470ba
commit
30fef5d7a0
@ -176,7 +176,7 @@ export default class WebpackClientConfig extends WebpackBaseConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add friendly error plugin
|
// 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(
|
config.plugins.push(
|
||||||
new FriendlyErrorsWebpackPlugin({
|
new FriendlyErrorsWebpackPlugin({
|
||||||
clearConsole: false,
|
clearConsole: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user