Skip to content

Instantly share code, notes, and snippets.

@ten1seven
Last active October 5, 2015 20:40
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 ten1seven/f541e61f2cd90a2f2555 to your computer and use it in GitHub Desktop.
Save ten1seven/f541e61f2cd90a2f2555 to your computer and use it in GitHub Desktop.
Basic PostCSS Gulpfile setup
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