adding source map

This commit is contained in:
koenemann 2016-08-02 08:44:36 +02:00
parent ce7fd5ca02
commit 2e641fcf80
3 changed files with 3 additions and 2 deletions

2
css/theme.min.css vendored

File diff suppressed because one or more lines are too long

1
css/theme.min.css.map Normal file

File diff suppressed because one or more lines are too long

View File

@ -60,7 +60,7 @@ gulp.task('cssnano', ['cleancss'], function(){
.pipe(plumber())
.pipe(rename({suffix: '.min'}))
.pipe(cssnano({discardComments: {removeAll: true}}))
.pipe(sourcemaps.write())
.pipe(sourcemaps.write('./'))
.pipe(gulp.dest('./css/'))
.pipe(browserSync.stream());
});