Skip to content

Commit

Permalink
编译过程添加 Autoprefixer
Browse files Browse the repository at this point in the history
  • Loading branch information
amio committed May 22, 2014
1 parent bdd2461 commit 9bdffb0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ var $ = require('gulp-load-plugins')();
var LOCAL_PORT = 9999;
var SOURCE_ROOT = __dirname + '/app';
var BUILD_ROOT = __dirname + '/dist';
var BROWSER = 'Google Chrome Canary';

/**
* =====================================
Expand Down Expand Up @@ -95,7 +94,7 @@ gulp.task('lint', function () {
gulp.task('usemin', ['html2js'], function () {
gulp.src('./app/*.html')
.pipe($.usemin({
css: [$.minifyCss(), $.rev()],
css: [$.autoprefixer(), $.minifyCss(), $.rev()],
js: [$.ngmin(), $.uglify(), $.rev()],
html: [$.minifyHtml({empty: true})]
}))
Expand Down

0 comments on commit 9bdffb0

Please sign in to comment.