Webpack plugin that will make the process exit with status code 1 when it finishes with soft errors or warnings.
npm install fail-on-errors-webpack-plugin
var FailOnErrorsPlugin = require('fail-on-errors-webpack-plugin');
module.exports = {
//config
plugins: [
new FailOnErrorsPlugin({
failOnErrors: true,
failOnWarnings: true,
})
]
}
Forked from webpack-fail-plugin