gajus / babel-plugin-react-css-modules

Transforms styleName to className using compile time CSS module resolution.
Other
2.05k stars 162 forks source link

styleName becomes stylename (lowercase) #277

Closed Fullsize closed 4 years ago

Fullsize commented 4 years ago

jsx

屏幕快照 2019-11-15 12 05 14

webpack css-loader

屏幕快照 2019-11-15 12 06 44

my .babelrc image

actual image

gajus commented 4 years ago

This looks like some sort of misconfiguration webpack/ babel. There is no logic in our codebase that would lowercase props.

Fullsize commented 4 years ago

This looks like some sort of misconfiguration webpack/ babel. There is no logic in our codebase that would lowercase props.

thanks,I'll check it out . babelrc

minicopper commented 4 years ago

This looks like some sort of misconfiguration webpack/ babel. There is no logic in our codebase that would lowercase props.

thanks,I'll check it out . babelrc

may i know which configuration is error?i am boring with the same error

chenhu297 commented 3 years ago

I get this error too. can some one tell me how to fix it?