Skip to content

Instantly share code, notes, and snippets.

@shaneckel
Created July 17, 2015 22:21
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 shaneckel/224536c589908513cd18 to your computer and use it in GitHub Desktop.
Save shaneckel/224536c589908513cd18 to your computer and use it in GitHub Desktop.
gulp.task('sass', function() {

return gulp.src(config.sass.app)
.pipe(sass({
outputStyle:'compressed'
}))
.on('error', errors)
.pipe(autoprefix("last 2 versions", "> 1%", "ie 6"))
.pipe(gulp.dest(config.sass.public))
.pipe(gulpif(!global.isProd, livereload()))
});
@shaneckel
Copy link
Author

'sass': {
'app' : 'app/sass/*/.scss',
'public': 'public/css'
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment