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 54f091c commit 24b829fCopy full SHA for 24b829f
tests/__snapshots__/transform.test.ts.snap
@@ -5,9 +5,11 @@ exports[`CSS Modules > should transform CSS Modules 1`] = `
5
.dummy_dummy_button{color:red;bakcground-color:blue}
6
7
// index.js
8
-const button = "dummy_button";
+const classes = {"button":"dummy_button"};
9
10
-const btn = document.createElement('div').classList.add(button);
+const _button0 = classes["button"];
11
+
12
+const btn = document.createElement('div').classList.add(_button0);
13
document.body.append(btn);
14
"
15
`;
0 commit comments