You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In latest babel-plugin-css-modules-transform, I found that it limits camelCase to be a boolean:
Error: Configuration 'camelCase' is not a boolean
at Object.camelCase (.../node_modules/babel-plugin-css-modules-transform/build/options_resolvers/camelCase.js:18:15)
Is it possible to support the new values ('dashes'|'dashesOnly'|'only')?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for this lib, we're heavily using it in our project.
Regarding the
camelCase
option, setting it totrue
causes a lot of duplications since original class names are kept, e.g.:In order to solve this,
css-modules-require-hook
has just supported new string values:only
|dashOnly
per css-modules/css-modules-require-hook#89 , and released in v4.0.6 https://github.com/css-modules/css-modules-require-hook/releases/tag/4.0.6In latest
babel-plugin-css-modules-transform
, I found that it limitscamelCase
to be a boolean:Is it possible to support the new values ('dashes'|'dashesOnly'|'only')?
Thanks.
The text was updated successfully, but these errors were encountered: