From 4320780d99ba62cd6b8c2f1b643a633d6fbb49e0 Mon Sep 17 00:00:00 2001 From: Pierre Brisorgueil Date: Thu, 31 Aug 2017 12:06:19 +0200 Subject: [PATCH] fix(gulpfile): show error on uglify (#1860) --- gulpfile.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index ca79cb576c..6cb021f96a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -153,6 +153,8 @@ gulp.task('uglify', function () { .pipe(plugins.ngAnnotate()) .pipe(plugins.uglify({ mangle: true + }).on('error', function (err) { + console.log('Uglify error : ', err.toString()); })) .pipe(plugins.concat('application.min.js')) .pipe(plugins.rev())