Add Sass Maps functionality
This commit is contained in:
parent
a0c6bc127e
commit
c7189c8b84
|
@ -83,8 +83,10 @@ gulp.task( 'sass', function() {
|
||||||
this.emit( 'end' );
|
this.emit( 'end' );
|
||||||
}
|
}
|
||||||
} ) )
|
} ) )
|
||||||
|
.pipe(sourcemaps.init({loadMaps: true}))
|
||||||
.pipe( sass( { errLogToConsole: true } ) )
|
.pipe( sass( { errLogToConsole: true } ) )
|
||||||
.pipe( autoprefixer( 'last 2 versions' ) )
|
.pipe( autoprefixer( 'last 2 versions' ) )
|
||||||
|
.pipe(sourcemaps.write(undefined, { sourceRoot: null }))
|
||||||
.pipe( gulp.dest( paths.css ) )
|
.pipe( gulp.dest( paths.css ) )
|
||||||
.pipe( rename( 'custom-editor-style.css' ) );
|
.pipe( rename( 'custom-editor-style.css' ) );
|
||||||
return stream;
|
return stream;
|
||||||
|
|
Reference in New Issue