gajus / gajus/babel-plugin-react-css-modules
generateScopedName as a function
Open
question
- Dominant language
- JavaScript
- Stars
- 2k
- Forks
- 159
- PR merge metrics
- No merged PRs in 30d
Description
I’m trying to use generateScopedName as a function which should be possible, but it resolves as `undefined`. F.ex;
``generateScopedName: (localName, resourcePath) => { return 'foo' }``
And then if I do `console.log(typeof options.generateScopedName)` in `requireCssModule` it becomes undefined. Strings works fine as the tests shows, but not functions.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.