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
//Compiles Sass files and minifies CSS | |
const gulp = require('gulp'); | |
const sass = require('gulp-sass'); | |
const cleanCSS = require('gulp-clean-css'); | |
gulp.task('sass', function () { | |
return gulp.src('src/scss/**/*.scss') | |
.pipe(sass().on('error', sass.logError)) | |
.pipe(cleanCSS()) |