Add Sass Maps functionality

This commit is contained in:
Alex Wright 2018-03-20 23:13:10 -05:00
parent a0c6bc127e
commit c7189c8b84
1 changed files with 2 additions and 0 deletions

View File

@ -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;