GeezerVison is showing github.com — doc: define "react-native" community condition · nodejs/node@6881188
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/packages.md +3Lines changed: 3 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -706,6 +706,9 @@ is provided below to assist with ecosystem coordination. |
706 | 706 | the given export. _This condition should always be included first._ |
707 | 707 | * `"deno"` - indicates a variation for the Deno platform. |
708 | 708 | * `"browser"` - any web browser environment. |
| 709 | +* `"react-native"` - will be matched by the React Native framework (all |
| 710 | + platforms). _To target React Native for Web, `"browser"` should be specified |
| 711 | + before this condition._ |
709 | 712 | * `"development"` - can be used to define a development-only environment |
710 | 713 | entry point, for example to provide additional debugging context such as |
711 | 714 | better error messages when running in a development mode. _Must always be |
|