Skip to content

Commit 5253f2e

Browse files
committed
fix(gulp:build): use ng-annotate
1 parent 3d4386a commit 5253f2e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/templates/_package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"gulp-load-plugins": "^1.0.0-rc.1",
5757
"gulp-minify-css": "^1.1.6",
5858
"gulp-mocha": "^2.1.3",
59-
"gulp-ngmin": "^0.3.0",
59+
"gulp-ng-annotate": "^1.1.0",
6060
"gulp-plumber": "^1.0.1",
6161
"gulp-rev": "^5.0.0",
6262
"gulp-rev-replace": "^0.4.2",

app/templates/gulpfile.babel(gulp).js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ gulp.task('build:client', ['transpile:client', 'styles', 'html'], () => {
385385
.pipe(plugins.concat('app/app.js'))
386386
.pipe(appFilter.restore())
387387
.pipe(jsFilter)
388-
.pipe(plugins.ngmin())
388+
.pipe(plugins.ngAnnotate())
389389
.pipe(plugins.uglify())
390390
.pipe(jsFilter.restore())
391391
.pipe(cssFilter)

0 commit comments

Comments
 (0)