Skip to content

Commit 1f41cc1

Browse files
committed
[INTERNAL] Variables: using the variable value for override
1 parent c99433f commit 1f41cc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/plugin/css-variables-collector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ CSSVariablesCollectorPlugin.prototype = {
5252
}
5353
*/
5454
vars[key] = {
55-
css: override ? varsOverride[key].css : this.vars[key].css,
55+
css: override ? varsOverride[key] : this.vars[key].css,
5656
export: this.vars[key].export
5757
};
5858
});

0 commit comments

Comments
 (0)