fix(builder): show production build errors

This commit is contained in:
Pooya Parsa 2018-03-13 20:32:54 +03:30
parent 7dddb19697
commit fdfd7aa32d

View File

@ -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'))
}
})
})
)