do not swallow errors
This commit is contained in:
parent
a8bd05298e
commit
1f8c3af5f9
@ -169,6 +169,11 @@ gulp.task("compile-prod", function (callback) {
|
||||
if (err) {
|
||||
throw new gutil.PluginError("webpack", err);
|
||||
}
|
||||
if (stats.hasErrors() || stats.hasWarnins) {
|
||||
gutil.log("[webpack]", stats.toString({
|
||||
colors: true,
|
||||
}));
|
||||
}
|
||||
callback();
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user