Skip to content

Throw non-zero exit code if webpack build fails

Not only err, stats.hasErrors also should be handled. I found this bug in Pipeline 42881 build - some errors exist, but build result was successful.

See also: https://webpack.js.org/api/node/#error-handling

Merge request reports

Loading