iSanchezDev/react-app-rewire-scss-loaders

Not working with "css-modules".

Opened this issue · 0 comments

I'm developing a project with create-react-app and most of my sass files are like {comp name}.module.scss which is using css-modules.

After installing this library, I get an empty object when I import the target sass files from js files like below.

import styles from "./LogIn.module.scss";

The styles is an empty object.

Do you have any ideas?