How set module.name_mapper for mapping to .scss.module files?
Open
question
- Dominant language
- Rust
- Stars
- 22.3k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
My config:
```
[options]
all=true
module.file_ext=.js
module.file_ext=.scss.module
module.name_mapper='.*\.module\.scss' -> 'scss-module'
```
My `scss-module` in folder `flow-typed/npm`:
```
declare module 'scss-module' {
declare type ObjType = {
[key: string]: string
}
declare export default ObjType;
}
```
Error for all scss files like that:
`Cannot resolve module ./Main.module.scss.`
Contributor guide
Assessment
This issue has not been assessed yet.