gulp-pleeease icon indicating copy to clipboard operation
gulp-pleeease copied to clipboard

import .css file into .scss doesn't update the sourcemaps

Open brunorios1 opened this issue 9 years ago • 3 comments

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!

brunorios1 avatar Mar 15 '15 21:03 brunorios1

Hey :)

Its most likely issue with pleease itself. Can you please try it with raw library if it works ?

danielhusar avatar Mar 16 '15 09:03 danielhusar

BTW mqpacker is very dangerous :)

danielhusar avatar Mar 16 '15 09:03 danielhusar

Can you share your CSS files ? Or samples ?

iamvdo avatar Mar 16 '15 10:03 iamvdo