-
-
Notifications
You must be signed in to change notification settings - Fork 606
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
camelCase doesn't delete original names #368
Comments
this is most likely to keep being backword compatible etc. why dont you just clean up the object before passing it along?
|
@timse In thousand components? : ) |
im sure you find a better way :) |
Will be fixed by #420 |
actually, will be fixed by #440 , #420 only removes the duplicate keys (cc @michael-ciniawsky ) |
@joscha Alright 🤣 all my hopes are shattered |
camelCase
option adds new props to style object, not replaces original ones.It causes dirt when used with https://github.com/javivelasco/react-css-themr.
For instance, if I have
.back-button {...}
class, css-loader withcamelCase
returnsAnd if that style object is passed to react-css-themr as
theme={styles} themeNamespace='back'
, it transforms it toIt doesn't make any sense. Is there any reasons why original class name is saved by css-loader?
The text was updated successfully, but these errors were encountered: