-
Notifications
You must be signed in to change notification settings - Fork 48
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
cssLoaderOptions.localIdentName changes antd styles #11
Comments
I think this is the expected behavior. If you want to turn it off just for the antd styles, then I think you might need to add your own custom webpack rules with an Can you please explain a bit more about what you are trying to do? |
Thank you, I wrote a webpack configuration file , and I have fixed it. |
Ok great! I will leave this issue open for now, and I might add an easier way to solve this in the future. It would be good if you could apply some options to your own Less files without affecting the antd Less. |
Just having the same problem, i would like to use babel-plugin-react-css-modules + craco-antd to rename all of the customized classes excluding antd classes. But currently it seems not worked if not changing the webpack config directly. |
@tikkichan4 Sorry about that! I think I just need to exclude the antd Less files with a regex, or even exclude everything in |
Sorry for the delay on this issue. Unfortunately I don't have much time to spend on craco-antd, but it would be great if someone could help with a PR for this issue. Thanks! |
Hi , |
Antd styles changes too
"@craco/craco": "^3.2.3", "antd": "^3.11.6", "react-scripts": "2.1.1", "craco-antd": "^1.9.3",
The text was updated successfully, but these errors were encountered: