I am using react-bootstrap and css modules. In my webpack.config.js i am able to run my bootstrap.css with this config:
{ test: /\.css$/, loader: "style-loader!css-loader" }
However my css modules should have this setup:
{
test: /\.css$/,
loaders: [
'style?sourceMap',
'css?modules&importLoaders=1&localIdentName=[path]___[name]__[local]___[hash:base64:5]'
]
}
How do I combine them to make it work for css modules and react-bootstrap