mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-01 01:59:10 +00:00
@@ -175,9 +175,13 @@ Please refer to the Jest documentation for more information.
|
|||||||
|
|
||||||
```
|
```
|
||||||
[options]
|
[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
|
## Multi-platform applications
|
||||||
|
|
||||||
### Web-specific code
|
### Web-specific code
|
||||||
|
|||||||
Reference in New Issue
Block a user