Skip to content

Commit 5564e0b

Browse files
RobinMalfaitadamwathan
authored andcommitted
remove unused containsApply check
Currently we will walk the tree for every single rule to see if an `@apply` exists somewhere in that tree. However we don't use the `containsApply` anymore so this is a quick win!
1 parent aa7ae6a commit 5564e0b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/flagged/applyComplexClasses.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ function buildUtilityMap(css) {
9090
utilityName,
9191
classPosition: i,
9292
rule: rule.clone({ parent: rule.parent }),
93-
containsApply: hasAtRule(rule, 'apply'),
9493
})
9594
index++
9695
})

0 commit comments

Comments
 (0)