big_smile
big_smile

Reputation: 1523

SCSS: Get more detailed output information

I have a complex custom built SCSS framework that where mixins can call on other mixins.

For example

@mixin red-combo {
@include red-text;
@include red-background;
} 


.div-red {
@include red-combo;
}

In the output CSS, the line comments will only point to red-text and red-background. That fact that red-combo was used to 'call' red-text and red-background is ignored.

Is there any way to make the line comments more detailed, so that red-combo can showed in the line comments.

Upvotes: 0

Views: 40

Answers (1)

No, this is not possible. Only one reference is supported per block.

The introduction of source maps does not make a lot of difference either. It would support references for individual properties, yet one reference per property is still a limitation.

Upvotes: 2

Related Questions