const { src, dest } = require('gulp'); const sass = require('gulp-sass')(require('sass')); function buildStyles(cb) { src('src/sass/**/*.scss') .pipe(sass().on('error', sass.logError)) .pipe(dest('src/css')); cb(); } exports.build = buildStyles;