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 a9f5c03 commit 1d71e3bCopy full SHA for 1d71e3b
changelog.md
@@ -1,3 +1,7 @@
1
+## V2.1.4:
2
+
3
+- [v2] add filename as class prefix, e.g.: `.some-class` in `some.module.css` will be transformed to `.some-module__some-class-[hash]`
4
5
## V2.1.3:
6
7
- support `@import url(./xxx/xxx.css)` in v2 (path can't be remote url)
index.js
@@ -58,7 +58,6 @@ const buildCssModulesJS2 = async (cssFullPath) => {
58
getAbsoluteUrl(resolveDir, url)
59
);
60
});
61
- Object.keys(exports)
62
63
const jsContent = `export default ${classNames};`;
64
0 commit comments