mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-07 09:22:27 +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
|
||||
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