Using postcss-extend-rule and postcss-nesting together but coming across an issue where @extend definitions nested media queries are being stripped.
.foo {
color: red
}
.bar {
color: blue;
@media (min-width: 768px) {
@extend .red;
}
}
I would expect
.foo {
color: red
}
.bar {
color: blue;
}
@media (min-width: 768px) {
.bar {
color: red;
}
}