I use babel-plugin-react-css-modules and css-loader to deal with my .scss files . But the generated css files's selector name does not matched the one in DOM class attribute.
Here is part of my webpack.config, I use webpack4.+
And here is my .babelrc
in one of my .jsx, write like this
`import './styles.scss'
container
`
and when I run,it did not work as expected.
![1543302541115](https://user-images.githubusercontent.com/14138164/49064876-41834a80-f257-11e8-8685-d45495c9265b.jpg)
Appreciate!
I use babel-plugin-react-css-modules and css-loader to deal with my .scss files . But the generated css files's selector name does not matched the one in DOM class attribute.
Here is part of my webpack.config, I use webpack4.+
And here is my .babelrc
in one of my .jsx, write like this `import './styles.scss'