Merge branch 'handle-webpack-build-error' into 'develop'
Throw non-zero exit code if webpack build fails See merge request pleroma/pleroma-fe!1695
This commit is contained in:
commit
bc6b5d94c6
1 changed files with 4 additions and 0 deletions
|
@ -36,4 +36,8 @@ webpack(webpackConfig, function (err, stats) {
|
|||
chunks: false,
|
||||
chunkModules: false
|
||||
}) + '\n')
|
||||
if (stats.hasErrors()) {
|
||||
console.error('See above for errors.')
|
||||
process.exit(1)
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue