Merge pull request #607 from alex-wright-net/master-sassmaps
Add Sass Maps functionality
This commit is contained in:
commit
e1c6d007a3
|
@ -83,9 +83,11 @@ gulp.task( 'sass', function() {
|
|||
this.emit( 'end' );
|
||||
}
|
||||
} ) )
|
||||
.pipe(sourcemaps.init({loadMaps: true}))
|
||||
.pipe( sass( { errLogToConsole: true } ) )
|
||||
.pipe( autoprefixer( 'last 2 versions' ) )
|
||||
.pipe( gulp.dest( paths.css ) );
|
||||
.pipe(sourcemaps.write(undefined, { sourceRoot: null }))
|
||||
.pipe( gulp.dest( paths.css ) )
|
||||
return stream;
|
||||
});
|
||||
|
||||
|
|
Reference in New Issue