gulp-pleeease
gulp-pleeease copied to clipboard
import .css file into .scss doesn't update the sourcemaps
Hi, my stream is working very well, but when I import .css files into my .scss files it seems that the sourcemaps are not updated.
This makes the sourcemaps functionality unusable.
My stream:
gulp.task('styles', function() {
gulp.src(paths.styles)
.pipe(sourcemaps.init())
.pipe(sass({
errLogToConsole: true
}))
.pipe(please({
"autoprefixer": { "browsers": ["last 2 versions"] },
"mqpacker": true,
"minifier": false
}))
.pipe(sourcemaps.write('.'))
.pipe(gulp.dest(paths.dist + '/css'))
});
Thanks!
Hey :)
Its most likely issue with pleease itself. Can you please try it with raw library if it works ?
BTW mqpacker is very dangerous :)
Can you share your CSS files ? Or samples ?