taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 1f8c3af5f9143cecaf977f9396c3c8ee7f909735
parent a8bd05298eccf3ac3f89afca4b28856fbb1be82f
Author: Florian Dold <florian.dold@gmail.com>
Date:   Thu, 20 Jul 2017 04:16:50 +0200

do not swallow errors

Diffstat:
Mgulpfile.js | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gulpfile.js b/gulpfile.js @@ -166,9 +166,14 @@ gulp.task("dist-prod", ["compile-prod"], function () { gulp.task("compile-prod", function (callback) { let config = require("./webpack.config.js")({prod: true}); webpack(config, function(err, stats) { - if(err) { + if (err) { throw new gutil.PluginError("webpack", err); } + if (stats.hasErrors() || stats.hasWarnins) { + gutil.log("[webpack]", stats.toString({ + colors: true, + })); + } callback(); }); });