Skip to content
Snippets Groups Projects
Commit bc6b5d94 authored by tusooa's avatar tusooa :zap:
Browse files

Merge branch 'handle-webpack-build-error' into 'develop'

Throw non-zero exit code if webpack build fails

See merge request !1695
parents d9dbd706 6d6629eb
No related branches found
No related tags found
2 merge requests!1711Update stable - 2.5.0 release,!1695Throw non-zero exit code if webpack build fails
Pipeline #42923 passed
......@@ -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)
}
})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment