Fix CSS conflict regression (#842)

master
Brad Cornes 2023-08-16 23:02:31 +01:00 committed by GitHub
parent 755eb5fe53
commit 528fb6caba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -33,9 +33,9 @@ function getRuleProperties(rule: Rule): string[] {
rule.walkDecls(({ prop }) => { rule.walkDecls(({ prop }) => {
properties.push(prop) properties.push(prop)
}) })
if (properties.findIndex((p) => !isCustomProperty(p)) > -1) { // if (properties.findIndex((p) => !isCustomProperty(p)) > -1) {
properties = properties.filter((p) => !isCustomProperty(p)) // properties = properties.filter((p) => !isCustomProperty(p))
} // }
return properties return properties
} }