Skip to content

Commit

Permalink
WA环境:编译过程添加 ngmin
Browse files Browse the repository at this point in the history
  • Loading branch information
amio committed Apr 1, 2014
1 parent 70c3058 commit 9a9c0db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ gulp.task('usemin', ['html2js'], function () {
gulp.src('./app/*.html')
.pipe($.usemin({
css: [$.minifyCss(), $.rev()],
js: [$.uglify(), $.rev()],
js: [$.ngmin(), $.uglify(), $.rev()],
html: [$.minifyHtml({empty: true})]
}))
.pipe(gulp.dest(BUILD_ROOT));
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"gulp": "^3.5.6",
"gulp-load-plugins": "^0.3.0",
"gulp-usemin": "~0.3.1",
"gulp-ngmin": "^0.1.2",
"gulp-uglify": "~0.2.1",
"gulp-minify-css": "~0.3.0",
"gulp-minify-html": "^0.1.2",
Expand Down

0 comments on commit 9a9c0db

Please sign in to comment.