From c7189c8b84cfb52bfa44c9322c157a8e60181c9b Mon Sep 17 00:00:00 2001 From: Alex Wright Date: Tue, 20 Mar 2018 23:13:10 -0500 Subject: [PATCH] Add Sass Maps functionality --- gulpfile.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 9be23bd..d1405b4 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -83,8 +83,10 @@ gulp.task( 'sass', function() { this.emit( 'end' ); } } ) ) + .pipe(sourcemaps.init({loadMaps: true})) .pipe( sass( { errLogToConsole: true } ) ) .pipe( autoprefixer( 'last 2 versions' ) ) + .pipe(sourcemaps.write(undefined, { sourceRoot: null })) .pipe( gulp.dest( paths.css ) ) .pipe( rename( 'custom-editor-style.css' ) ); return stream;