-
-
Notifications
You must be signed in to change notification settings - Fork 386
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
Order problem #555
Comments
When trying to solve this issue maybe take a look at #530 Also the real problem is that css order should not depended only on import order because it can create cases that you cant satisfy all constraints. x.js imports a.css then b.css |
Any news? |
I made a proposal in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
After dynamically importing component, which composes css class, that an already present component also composes, the existing component should preserve its styles.
Actual Behavior
After dynamically importing component
B
, componentsC
styles get overriden.Code
Result:
Webpack config:
How Do We Reproduce?
For reproduction, see this minimal repo:
https://github.com/OHUSAR/css-modules-chunk-specificity-bug
Originally posted by @OHUSAR in webpack-contrib/css-loader#997 (comment)
The text was updated successfully, but these errors were encountered: