Update Flow config documentation

Close #1007
This commit is contained in:
Nicolas Gallagher
2018-06-28 09:33:07 -07:00
parent 1d01af57d0
commit af80b046fa

View File

@@ -175,9 +175,13 @@ Please refer to the Jest documentation for more information.
```
[options]
module.name_mapper='(react-native)' -> 'react-native-web'
module.name_mapper='^react-native$' -> 'react-native-web'
```
You may also need to inlucde a custom libdef
([example](https://gist.github.com/paularmstrong/f60b40d16fc83e1e8e532d483336f9bb))
in your config.
## Multi-platform applications
### Web-specific code