Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
indooorsman committed Feb 17, 2022
1 parent a9f5c03 commit 1d71e3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## V2.1.4:

- [v2] add filename as class prefix, e.g.: `.some-class` in `some.module.css` will be transformed to `.some-module__some-class-[hash]`

## V2.1.3:

- support `@import url(./xxx/xxx.css)` in v2 (path can't be remote url)
Expand Down
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ const buildCssModulesJS2 = async (cssFullPath) => {
getAbsoluteUrl(resolveDir, url)
);
});
Object.keys(exports)

const jsContent = `export default ${classNames};`;

Expand Down

0 comments on commit 1d71e3b

Please sign in to comment.