Last active
October 5, 2015 20:40
-
-
Save ten1seven/f541e61f2cd90a2f2555 to your computer and use it in GitHub Desktop.
Basic PostCSS Gulpfile setup
This file contains hidden or 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 gulp = require('gulp'); | |
var rename = require('gulp-rename'); | |
var postcss = require('gulp-postcss'); | |
gulp.task('styles', function () { | |
var processors = [ | |
]; | |
return gulp.src('./*.postcss') | |
.pipe(postcss(processors)) | |
.pipe(rename({ | |
extname: '.css' | |
})) | |
.pipe(gulp.dest('./')); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment