Skip to content

Instantly share code, notes, and snippets.

@schmidsi
Created December 18, 2014 14:26
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 schmidsi/19a04cd8848e97ef5d48 to your computer and use it in GitHub Desktop.
Save schmidsi/19a04cd8848e97ef5d48 to your computer and use it in GitHub Desktop.
gulp-sass-autoprefixer
gulp.task 'sass', ->
gulp.src(paths.sass)
.pipe sourcemaps.init()
.pipe sass
includePaths: [
'./node_modules'
'./bower_components'
]
errLogToConsole: true
onError: notify.onError('Stylus Error: <%= error.message %>')
.pipe autoprefixer()
.pipe sourcemaps.write()
.pipe gulp.dest(paths.dist.css)
.pipe browserSync.reload(stream: true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment