From 98795e3d82d0311b43edd729ab9e947c4acc8f61 Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Mon, 15 Feb 2016 16:04:45 +0300 Subject: [PATCH] ng-annotate in production only --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 8945aecd..ae7b1241 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -76,8 +76,8 @@ gulp.task('compile', function () { ] } })) - .pipe(ngAnnotate()) - //.pipe(_if(is_production, minify())) + .pipe(_if(is_production, ngAnnotate())) + .pipe(_if(is_production, minify())) .pipe(gulp.dest('./public')); });