fail-on-errors-webpack-plugin
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/fail-on-errors-webpack-plugin package

3.0.0 • Public • Published

FailOnErrorsPlugin

Webpack plugin that will make the process exit with status code 1 when it finishes with soft errors or warnings.

Install

npm install fail-on-errors-webpack-plugin

Usage

var FailOnErrorsPlugin = require('fail-on-errors-webpack-plugin');
 
module.exports = {
  //config
  plugins: [
    new FailOnErrorsPlugin({
      failOnErrors: true,
      failOnWarnings: true,
    })
  ]
}

Credits

Forked from webpack-fail-plugin

Readme

Keywords

Package Sidebar

Install

npm i fail-on-errors-webpack-plugin

Weekly Downloads

3,285

Version

3.0.0

License

MIT

Unpacked Size

1.81 kB

Total Files

3

Last publish

Collaborators

  • austinmatherne