From 5564e0b493d8da433e3d3fddb437750029381b9e Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Sun, 16 Aug 2020 14:09:47 +0200 Subject: [PATCH] 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! --- src/flagged/applyComplexClasses.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/flagged/applyComplexClasses.js b/src/flagged/applyComplexClasses.js index 17e335a27..124d91da5 100644 --- a/src/flagged/applyComplexClasses.js +++ b/src/flagged/applyComplexClasses.js @@ -90,7 +90,6 @@ function buildUtilityMap(css) { utilityName, classPosition: i, rule: rule.clone({ parent: rule.parent }), - containsApply: hasAtRule(rule, 'apply'), }) index++ })