This repository was archived by the owner on Dec 18, 2018. It is now read-only.
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
How should I use this if I also have CSS modules enabled along with babel-plugin-react-css-modules ? #13
Open
Description
Sorry for making a question to the issue tracker, but since this is not a very popular loader, I figured it'd be easier to get an answer from here.
So, I have this in my webpack config
{
test: /\.s(a|c)ss$/,
use: ExtractTextPlugin.extract({
// https://github.com/webpack-contrib/extract-text-webpack-plugin#extract
use: [
{
loader: 'css-loader',
options: {
sourceMap: true,
modules: true,
localIdentName: cssModuleClassPattern
}
},
'sass-loader'
],
fallback: 'style-loader'
})
},
I tried using the loader inline for one specific import, but I cannot get it to work this way.
Where should this loader go in the config chain, considering the use of ExtractTextPlugin?
Metadata
Metadata
Assignees
Labels
No labels