Answer the question
In order to leave comments, you need to log in
Source maps scss fell off. What to do?
It often happens that on a new project, as the layout progresses, the source maps for scss suddenly fall off. Compiled via gulp
gulp.task('build-sass', function() {
return gulp.src('src/css/*.scss').pipe(sourcemaps.init()).pipe(sass({
errLogToConsole: false,
onError: function(err) {
return notify().write(err);
}
})).pipe(minifyCss({
compatibility: 'ie8'
}))
.pipe(sourcemaps.write('.'))
.pipe(gulp.dest('dist/css'));
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question