
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
webpack-fail-plugin
Advanced tools
Webpack plugin that makes the process return an error code on failure
If you're using Webpack 2+ then you shouldn't need this plugin anymore. Under normal circumstances Webpack should already exit with a proper exit code. As such, this plugin does not officially support Webpack 2+.
If you don't get the correct exit code with Webpack 2+ then this is most likely a bug in a plugin you're using, or you're running into a Webpack bug. In either case I strongly recommend to isolate the problem and file issues at the appropriate repositories. In the mean time you could try to use this plugin as a temporary workaround.
Webpack plugin that will make the process return status code 1 when it finishes with errors in single-run mode.
npm install webpack-fail-plugin --save-dev
var failPlugin = require('webpack-fail-plugin');
module.exports = {
//config
plugins: [
failPlugin
]
}
Credits to @happypoulp.
FAQs
Webpack plugin that makes the process return an error code on failure
We found that webpack-fail-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.