ng-annotate in production only

This commit is contained in:
tmshv committed 2016-02-15 16:04:45 +03:00
1 parent 5614b84db5
commit 98795e3d82
1 file changed
+2 -2
+2 -2
View File
@@ -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'));
});