From 6f4b966fc993362630ecdd88ddba06bf6d067456 Mon Sep 17 00:00:00 2001 From: Kayce Basques Date: Thu, 4 Jan 2018 11:06:56 -0800 Subject: [PATCH] update tasks to output sourcemaps --- gulpfile.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 22e551e..4273d95 100755 --- a/gulpfile.js +++ b/gulpfile.js @@ -95,6 +95,7 @@ gulp.task('styles', function() { .pipe(size({ gzip: true, showFiles: true })) .pipe(prefix(prefixerOptions)) .pipe(rename('styles.css')) + .pipe(sourcemaps.write()) .pipe(gulp.dest(bases.dist + 'css')) .pipe(reload({stream:true})) .pipe(cleanCSS({debug: true}, function(details) { @@ -113,6 +114,7 @@ gulp.task('themes', function() { .pipe(sass(sassOptions)) .pipe(size({ gzip: true, showFiles: true })) .pipe(prefix(prefixerOptions)) + .pipe(sourcemaps.write()) .pipe(gulp.dest(bases.dist + 'css/themes')) .pipe(reload({stream:true})) .pipe(cleanCSS({debug: true}, function(details) {