nav tabs on admin dashboard
This commit is contained in:
12
node_modules/webpack/lib/NoEmitOnErrorsPlugin.js
generated
vendored
12
node_modules/webpack/lib/NoEmitOnErrorsPlugin.js
generated
vendored
@@ -6,14 +6,12 @@
|
||||
|
||||
class NoEmitOnErrorsPlugin {
|
||||
apply(compiler) {
|
||||
compiler.plugin("should-emit", (compilation) => {
|
||||
if(compilation.getStats().hasErrors())
|
||||
return false;
|
||||
compiler.hooks.shouldEmit.tap("NoEmitOnErrorsPlugin", compilation => {
|
||||
if (compilation.getStats().hasErrors()) return false;
|
||||
});
|
||||
compiler.plugin("compilation", (compilation) => {
|
||||
compilation.plugin("should-record", () => {
|
||||
if(compilation.getStats().hasErrors())
|
||||
return false;
|
||||
compiler.hooks.compilation.tap("NoEmitOnErrorsPlugin", compilation => {
|
||||
compilation.hooks.shouldRecord.tap("NoEmitOnErrorsPlugin", () => {
|
||||
if (compilation.getStats().hasErrors()) return false;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user