NoEmitOnErrorsPlugin to skip the emitting phase whenever there are errors while compiling. This ensures that no assets are emitted that include errors. The
emitted flag in the stats is
false for all assets.
This supersedes the (now deprecated) webpack 1 plugin
If you are using the CLI, the webpack process will not exit with an error code by enabling this plugin. If you want webpack to "fail" when using the CLI, please check out the
© JS Foundation and other contributors
Licensed under the Creative Commons Attribution License 4.0.