facebook / facebook/flow

Why both extension='scss' and extension='module.scss' not worked?

Open
#7,636 7 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Rust
Stars
22.3k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

I did try this options and that not worked but nowhere is it written why.

```
module.file_ext=.scss
module.file_ext=.scss.module
module.name_mapper.extension='scss' -> '/SCSSModule.js.flow'
module.name_mapper.extension='module.scss' -> '/SCSSModule.js.flow'
```

I spent a lot of time to understand that what's unnecessary above

I guessed to the working version:
```
module.file_ext=.scss.module
module.name_mapper.extension='module.scss' -> '/SCSSModule.js.flow'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.