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!
This commit is contained in:
Robin Malfait 2020-08-16 14:09:47 +02:00 • committed by Adam Wathan
parent aa7ae6af37
commit 5564e0b493

View file

@ -90,7 +90,6 @@ function buildUtilityMap(css) {
utilityName,
classPosition: i,
rule: rule.clone({ parent: rule.parent }),
containsApply: hasAtRule(rule, 'apply'),
})
index++
})