Sha256: 62b44b4cb25f1d77018058f9bb8c16e11806278bb4816718500d6455ed92a2b7
Contents?: true
Size: 512 Bytes
Versions: 7
Compression:
Stored size: 512 Bytes
Contents
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; class NoEmitOnErrorsPlugin { apply(compiler) { compiler.plugin("should-emit", (compilation) => { if(compilation.errors.length > 0) return false; }); compiler.plugin("compilation", (compilation) => { compilation.plugin("should-record", () => { if(compilation.errors.length > 0) return false; }); }); } } module.exports = NoEmitOnErrorsPlugin;
Version data entries
7 entries across 5 versions & 2 rubygems