Skip to content

Instantly share code, notes, and snippets.

var gulp = require('gulp');
var sass = require('gulp-sass');
var minifyCss = require('gulp-minify-css');
var sourceMaps = require('gulp-sourcemaps'),
path = require('path');
gulp.task('styles', function() {
gulp.src('./**/scss/*.scss', {base: '.'})
.pipe(sourceMaps.init())
.pipe(sass().on('error', sass.logError))