adding source map
This commit is contained in:
parent
ce7fd5ca02
commit
2e641fcf80
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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());
|
||||
});
|
||||
|
|
Reference in New Issue