Sponsor webpack and get apparel from the official shop! All proceeds go to our open collective!
The NoEmitOnErrorsPlugin
allows you to avoid emitting assets when there are any errors. Enabled by default, you can disable using optimization.noEmitOnErrors
webpack.config.js
module.exports = {
plugins: [
new webpack.NoEmitOnErrorsPlugin()
]
};