Track utilities generated by @apply
This commit is contained in:
parent
6febfd966a
commit
6b9ace2679
1 changed files with 5 additions and 0 deletions
|
|
@ -167,8 +167,13 @@ export function substituteAtApply(ast: AstNode[], designSystem: DesignSystem) {
|
|||
},
|
||||
})
|
||||
|
||||
let src = node.src
|
||||
let candidateAst = compiled.astNodes
|
||||
|
||||
walk(candidateAst, (node) => {
|
||||
node.src = src
|
||||
})
|
||||
|
||||
// Collect the nodes to insert in place of the `@apply` rule. When a rule
|
||||
// was used, we want to insert its children instead of the rule because we
|
||||
// don't want the wrapping selector.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue