Created
September 2, 2014 19:28
-
-
Save donaldallen/1fc69258acfa814a71ea to your computer and use it in GitHub Desktop.
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
gulp.task('styles', function () { | |
return gulp.src('scss/**/*.scss') | |
.pipe($.rubySass({ | |
style: 'expanded', | |
precision: 10, | |
quiet: true, | |
require: 'sass-globbing' // Allow's for glob importing in Sass, like: @import 'layout/*'; | |
})) | |
.on('error', console.error.bind(console)) | |
.pipe($.autoprefixer(AUTOPREFIXER_BROWSERS)) | |
.pipe($.csso()) | |
.pipe(gulp.dest('../')) | |
.pipe($.filter('**/*.css')); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment