Closed jonathantneal closed 7 years ago
previously valid usage alongside css nesting:
.excerpt-of-my-component { background-color: var(--mono-97); @media (--screen-ml) { @apply --submenu-styles; display: flex; flex-wrap: wrap; padding-top: 48px; } }
I now get the error:
The @apply rule can only be declared inside Rule type nodes.
Another (made-up) but very possible example
.excerpt-of-my-component { @nest [dir="rtl"] & { @apply --rtl-behavior-styles; } }
Could this plugin search for an ancestor rule rather than a parent rule?
Available as of postcss-apply@0.8.0
postcss-apply@0.8.0
previously valid usage alongside css nesting:
I now get the error:
Another (made-up) but very possible example
Could this plugin search for an ancestor rule rather than a parent rule?