Last active
August 29, 2015 14:21
-
-
Save magician11/41994fdac333d02131a9 to your computer and use it in GitHub Desktop.
Using Autoprefixer with Gulp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var autoprefix = require('gulp-autoprefixer'); | |
gulp.task('scss', function() { | |
return gulp.src(appFiles.scss) | |
.pipe(scss({ | |
errLogToConsole: true | |
})) | |
.pipe(autoprefix()) | |
.pipe(minifyCSS()) | |
.pipe(concat('ag.min.css')) | |
.pipe(gulp.dest(appDirectory.dist + '/css')); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment