Skip to content

Commit 3970f26

Browse files
author
Jonne Räsänen
committed
add CSS Module hash ident name .env sample
1 parent 0bf6ee2 commit 3970f26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Add a `.env.` file with the desired features.
4444
- ```REACT_APP_SASS_MODULES=true``` - enable Sass modules
4545
- ```REACT_APP_LESS_MODULES=true``` - enable Less modules
4646
- ```REACT_APP_STYLUS_MODULES=true``` - enable Stylus modules
47+
- ```REACT_APP_CSS_MODULE_IDENT_NAME='module-[sha512:hash:base32]-[name]-[local]'``` - add custom CSS Module hash ident name
4748

4849
Note: to use modules the file must be named in the following format: ```$name.module.$preprocessorName```.
4950

0 commit comments

Comments
 (0)