gulp-sass
gulp-sass copied to clipboard
Incorrect sourcemaps
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?
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 it still does not work(
+1