Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
brunorios1 opened this issue Mar 15, 2015 · 3 comments
Open

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

brunorios1 opened this issue Mar 15, 2015 · 3 comments

Comments

@brunorios1
Copy link

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!

@danielhusar
Copy link
Owner

Hey :)

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

@danielhusar
Copy link
Owner

BTW mqpacker is very dangerous :)

@iamvdo
Copy link
Collaborator

iamvdo commented Mar 16, 2015

Can you share your CSS files ? Or samples ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants