Skip to content

Instantly share code, notes, and snippets.

@ayapi
Created May 23, 2014 02:47
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ayapi/26d299e4a61d9ac66036 to your computer and use it in GitHub Desktop.
Save ayapi/26d299e4a61d9ac66036 to your computer and use it in GitHub Desktop.
gulp-stylus + autoprefixer-stylus
var gulp = require('gulp');
var stylus = require('gulp-stylus');
var autoprefixer = require('autoprefixer-stylus');
gulp.task('stylus', function () {
return gulp.src('./styl/style.styl')
.pipe(stylus({
use: [autoprefixer('iOS >= 7', 'last 1 Chrome version')]
}))
.pipe(gulp.dest('./css'))
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment