We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff47c73 commit da3e481Copy full SHA for da3e481
lib/utils/style-variables/index.js
@@ -32,8 +32,8 @@ module.exports = {
32
StyleVariablesContext
33
}
34
35
-/** @type {Map<VElement, StyleVariablesContext>} */
36
-const cache = new Map()
+/** @type {WeakMap<VElement, StyleVariablesContext>} */
+const cache = new WeakMap()
37
/**
38
* Get the style vars context
39
* @param {RuleContext} context
0 commit comments