npm install gulp-sass --save-dev
Create tasks:
var gulp = require('gulp'); var $ = require('gulp-load-plugins')({lazy: true}); gulp.task('clean-styles', function () { return gulp.src('build/styles', {read: false}) .pipe($.clean()); }); gulp.task('styles',['clean-styles'], function () { return gulp.src('source/scss/**/*.scss') .pipe($.sass()) .pipe(gulp.dest('build/styles')); });