Browse Source

moved to ng-annotate

master
Igor Zhukov 10 years ago
parent
commit
875974b68f
  1. 2
      gulpfile.js
  2. 2
      package.json

2
gulpfile.js

@ -21,7 +21,7 @@ gulp.task('usemin', ['templates', 'enable-production'], function() { @@ -21,7 +21,7 @@ gulp.task('usemin', ['templates', 'enable-production'], function() {
return gulp.src(['app/index.html', 'app/badbrowser.html'])
.pipe($.usemin({
html: [$.minifyHtml({empty: true})],
js: ['concat', $.ngmin(), $.uglify({outSourceMap: false})],
js: ['concat', $.ngAnnotate(), $.uglify({outSourceMap: false})],
css: [$.minifyCss(), 'concat']
}))
.pipe(gulp.dest('dist'));

2
package.json

@ -49,6 +49,6 @@ @@ -49,6 +49,6 @@
"event-stream": "^3.1.0",
"gulp-zip": "^0.1.2",
"gulp-manifest": "0.0.3",
"gulp-ngmin": "~0.1.2"
"gulp-ng-annotate": "~0.3.3"
}
}

Loading…
Cancel
Save