gajus / gajus/babel-plugin-react-css-modules
generateScopedName as a function
Aperta
question
- Lingua principale
- JavaScript
- Stelle
- 2k
- Fork
- 159
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.