Skip to content

BeStateless/exit-zero-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

exit-zero-webpack-plugin

npm

This simple plugin ensures that your webpack build always exits zero (i.e. success); this can be useful in environments or situations where a non-zero exit might produces undesirable effects. Note that any errors that occurred during the build will still exist, just simply won't break the build.

Usage

npm install -D exit-zero-webpack-plugin

In your webpack config:

  plugins: [
    new ExitZeroWebpackPlugin({}),
  ]

API

exit-zero-webpack-plugin accepts the following arguments

active: boolean

Determins whether or not to run exit-zero-webpack-plugin. Defaults to true.

About

🏳 a simple webpack plugin to avoid non-zero exits

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published