/** * sass compile setting * scss/ディレクトリのscssをコンパイルする */ gulp.task(‘sass’ , function(){ return sass( dir.top + `/【common/scss/など、特定のディレクトリをいちいち書く】/*.scss` , { compass : true, style: ‘expanded’ }) .pipe(autoprefixer()) .pipe(csscomb()) .pipe(plumber({ errorHandler : notify.onError(‘<%= error.message %>’) //gulp notify エラーメッセージ })) .pipe(gulp.dest( dir.top + ‘/【/common/css/など、書き出し先をいちいち書く】’));