facebook / facebook/flow

Cannot find files with multiple extensions (e.g. fileName.decorator.js)

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

Description

We have some files in the codebase with filenames like `fileName.decorator.js`. These get a "required module not found" error with flow.
Have tried editing the options as
```
[options]
module.file_ext=.decorator
```
and also
```
[options]
module.file_ext=.decorator.js
```
but neither seems to be doing the trick. Was wondering if I'm missing something?

Thanks a lot!

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.