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
@ -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 New Issue
Block a user