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

Incorrect sourcemaps #403

Open
artem-malko opened this issue Dec 1, 2015 · 3 comments
Open

Incorrect sourcemaps #403

artem-malko opened this issue Dec 1, 2015 · 3 comments

Comments

@artem-malko
Copy link

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?

@Keats
Copy link
Collaborator

Keats commented Dec 3, 2015

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 {}
}

@artem-malko
Copy link
Author

@Keats it still does not work(

@dimondevs
Copy link

+1

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