Przeglądaj źródła

Allow wider Flow use

We (i.e. the jitsi-meet project) are using the haste module system on
Web as well, not only on React Native. Unfortunately, Flow does not
support .web.js by default. Override Flow's defaults to include .web.js
as well. Technically, we have .native.js as well so the choice of
.web.js may lead to errors. Practically though, it is a potential future
problem that we do not have at the time of this writing.

https://github.com/jitsi/jitsi-meet/pull/1397 will take advantage of the
wider Flow use. The PR in question is huge at the time of this writing.
In order to reduce it, I'm extracting changes not directly related to
React-ifying the Toolbar.
j8
Ilya Daynatovich 8 lat temu
rodzic
commit
8502ecc6d2
1 zmienionych plików z 12 dodań i 0 usunięć
  1. 12
    0
      .flowconfig

+ 12
- 0
.flowconfig Wyświetl plik

49
 
49
 
50
 unsafe.enable_getters_and_setters=true
50
 unsafe.enable_getters_and_setters=true
51
 
51
 
52
+; We (i.e. the jitsi-meet project) are using the haste module system on Web as
53
+; well, not only on React Native. Unfortunately, Flow does not support .web.js
54
+; by default. Override Flow's defaults to include .web.js as well. Technically,
55
+; we have .native.js as well so the choice of .web.js may lead to errors.
56
+; Practically though, it is a potential future problem that we do not have at
57
+; the time of this writing.
58
+module.file_ext=.web.js
59
+; Flow's defaults:
60
+module.file_ext=.js
61
+module.file_ext=.jsx
62
+module.file_ext=.json
63
+
52
 [version]
64
 [version]
53
 ^0.38.0
65
 ^0.38.0

Ładowanie…
Anuluj
Zapisz