csstools / csstools/postcss-extend-rule

Multiple @extend rules in the same block don't process the second @extend correctly

Open
#10 5 comments 7 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
54
Forks
7
Avg merge
1d 5h
Merged PRs (30d)
1

Description

```css
%foo {
right: 0;
}

%bar {
left: 0;
}

.baz {
@extend %foo;
@extend %bar;
}
```

Worked in 2.0.0, but doesn't generate correctly on 3.0.0.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the CSS example with the current implementation and compare its generated output with version 2.0.0 and 3.0.0. Done means both @extend rules in the same block are processed and the generated CSS reflects both extensions correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.