Created
May 23, 2014 02:47
-
-
Save ayapi/26d299e4a61d9ac66036 to your computer and use it in GitHub Desktop.
gulp-stylus + autoprefixer-stylus
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 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