Open
Description
Seems styleName
not being transformed to corresponding className
when using preact
. Tried to migrate same babel-plugin-react-css-modules
config from existing React project but failed to get it working with Preact. Using preact-compat
package.
Other issues (#200, #65) show notions of using Preact in their projects but no real evidence.
And slightly off-topic, but in case anyone stumbles upon styleName
typings error when working with Preact, TypeScript and this plugin: DefinitelyTyped/DefinitelyTyped#12040 (comment).