babel-plugin-react-css-modules
babel-plugin-react-css-modules copied to clipboard
Plugin does't work after updating react-scripts to version 4.3.0
New react-scripts
uses css-loader
>= v4 that has a new IdentName
generation. So it needs updating generic-names
in package.json to v3.0.0.
As a temporary solution.
I am using @dr.pogodin/babel-plugin-react-css-modules
with CRA v4.
It work well for me.