Skip to content

Instantly share code, notes, and snippets.

@jhouedanou
Created September 27, 2017 11:45
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 jhouedanou/df8cf4e53590cca762155971dce52319 to your computer and use it in GitHub Desktop.
Save jhouedanou/df8cf4e53590cca762155971dce52319 to your computer and use it in GitHub Desktop.
gulp.task('sass', function() {
return gulp.src('./sass/*.scss')
.pipe(sass({outputStyle: 'compressed'}))
.pipe(strip_comments())
// .pipe(autoprefixer())
.pipe(gulp.dest('./')) // Output LTR stylesheets (style.css)
.pipe(plumber({ errorHandler: onError }))
.pipe(browserSync.stream());
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment