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 97a952f commit f8fef2dCopy full SHA for f8fef2d
test/index.js
@@ -94,5 +94,13 @@ describe('constants', () => {
94
':export {\n a: i__const_a_7;\n b: i__const_b_8\n}'
95
)
96
})
97
+
98
+ it('should allow custom-property-style names', () => {
99
+ test(
100
+ '@value --red from "./colors.css"; .foo { color: --red; }',
101
+ ':import("./colors.css") {\n i__const___red_9: --red;\n}\n' +
102
+ ':export {\n --red: i__const___red_9;\n}\n' +
103
+ '.foo { color: i__const___red_9; }')
104
+ })
105
106
0 commit comments