Skip to content

Instantly share code, notes, and snippets.

@magician11
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magician11/41994fdac333d02131a9 to your computer and use it in GitHub Desktop.
Save magician11/41994fdac333d02131a9 to your computer and use it in GitHub Desktop.
Using Autoprefixer with Gulp
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