Skip to content

Instantly share code, notes, and snippets.

@donaldallen
Created September 2, 2014 19:28
Show Gist options
  • Save donaldallen/1fc69258acfa814a71ea to your computer and use it in GitHub Desktop.
Save donaldallen/1fc69258acfa814a71ea to your computer and use it in GitHub Desktop.
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