@plumeria/utils 18.3.9 → 18.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/parser.js +4 -2
- package/package.json +1 -1
package/dist/parser.js
CHANGED
|
@@ -1871,8 +1871,10 @@ function extractOndemandStyles(obj, extractedSheets, t) {
|
|
|
1871
1871
|
walk(t.createObjectTable[hash]);
|
|
1872
1872
|
}
|
|
1873
1873
|
}
|
|
1874
|
-
|
|
1875
|
-
|
|
1874
|
+
if (val.includes('var(')) {
|
|
1875
|
+
for (const [, varName] of val.matchAll(CUSTOM_PROPERTY)) {
|
|
1876
|
+
usedVariables.add(varName);
|
|
1877
|
+
}
|
|
1876
1878
|
}
|
|
1877
1879
|
}
|
|
1878
1880
|
else {
|