-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs request: Using CSS Modules with extract-text-webpack-plugin #25
Comments
It would be the same pattern, except you would also pass the parameters into the For example:
|
I know this was awhile ago but I'm having problems with getting CSS module working with the ExtractTextPlugin. I have tried lots of things to no avail. Does anyone have a working example? I have tried the following loaders And Any help would be great :-) Thanks |
@kurt-hardy the first syntax look right, not the second one. here one from here: https://github.com/react-toolbox/react-toolbox-example/blob/master/webpack.config.js
|
@janusch thanks for your response. I had Thanks. |
Sassy sass loader! Glad you figured it out. |
loader: ExtractTextPlugin.extract("style-loader", "css-loader")
vs
loader: 'style!css-loader?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]'
The text was updated successfully, but these errors were encountered: