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

Incorrect sourcemaps

Open artem-malko opened this issue 10 years ago • 3 comments

I've tried to use one scss-lib https://github.com/franzheidl/bemify So, I have one file with all mixins from that lib. I Use mixin of block creating in each file of the block

@include block('my-element') {}

So, I have only mixins, without classnames and etc. After compiling, I have only one file in sourcemaps: mixin.scss. So, how can I see the code of blocks, not only of the mixin.scss?

artem-malko avatar Dec 01 '15 17:12 artem-malko

Can you try with the current master? there was a sourcemap fix, while i don't think it fixes your issue you never know.

As a side note it seems that all the features of that library are natively available in sass? IE

@include block('my-element') {
    …

    @include element('child') {
      …
    }

    @include modifier('small') {
      …
    }
}

is equal to

.my-element {
 &__child {}
 &--small {}
}

Keats avatar Dec 03 '15 00:12 Keats

@Keats it still does not work(

artem-malko avatar Dec 15 '15 13:12 artem-malko

+1

dimondevs avatar Nov 06 '16 20:11 dimondevs