Once you have ejected the project, edit the webpack.config.dev.js
file. Search for test: /\.css$/
. Under the the use >> options
property add the following under the importLoaders: 1,
:
modules: true,
localIdentName: '[name]__[local]__[hash:base64:5]'
This allows for setting up unique CSS class names when multiple components are used that might use a similarly named CSS class style.