facebook / facebook/flow

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

Aperta
#4,378 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
22.3k
Fork
1.9k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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!

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.