gajus / gajus/babel-plugin-react-css-modules
doesn't work with windicss
Open
- Dominant language
- JavaScript
- Stars
- 2k
- Forks
- 159
- PR merge metrics
- No merged PRs in 30d
Description
### Reproduce Code
```jsx
import 'windi.css'
```
### Error message
`Error: Cannot find module 'windi.css'`
`windi.css` is a virtual module, the function that causes the error is
https://github.com/gajus/babel-plugin-react-css-modules/blob/eb008aaa7c8efc61c266f15b03c101cbb111a53e/src/index.js#L127
and it runs before excluding logic, so the exclude option won't work.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.