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 927420e commit e1c20e7Copy full SHA for e1c20e7
test/localTest.js
@@ -131,4 +131,16 @@ describe("local", function() {
131
], {
132
"-a0-34a___f": "_1YJOcrkc6cyZmBAAvyPFOn"
133
}, "?module");
134
+ testLocal("imported values in decl", ".className { color: IMPORTED_NAME; }\n" +
135
+ ":import(\"./vars.css\") { IMPORTED_NAME: primary-color; }", [
136
+ [1, "._className { color: red; }", ""]
137
+ ], {
138
+ "className": "_className"
139
+ }, "?module&localIdentName=_[local]", {
140
+ "./vars.css": {
141
+ locals: {
142
+ "primary-color": "red"
143
+ }
144
145
+ });
146
});
0 commit comments