mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-12 03:38:07 +00:00
fix(builder): show production build errors
This commit is contained in:
parent
7dddb19697
commit
fdfd7aa32d
@ -536,11 +536,6 @@ module.exports = class Builder {
|
|||||||
console.error(err) // eslint-disable-line no-console
|
console.error(err) // eslint-disable-line no-console
|
||||||
return reject(err)
|
return reject(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* istanbul ignore if */
|
|
||||||
if (stats.hasErrors()) {
|
|
||||||
return reject(new Error('Webpack build exited with errors'))
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user