Created
September 27, 2017 11:46
-
-
Save jhouedanou/ac004c084959757ba734ad6cb2ca49e2 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('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