Skip to content

Commit 6881188

Browse files
huntiedanielleadams
authored andcommitted
doc: define "react-native" community condition
PR-URL: #45367 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 7dbc742 commit 6881188

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/api/packages.md

+3
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,9 @@ is provided below to assist with ecosystem coordination.
706706
the given export. _This condition should always be included first._
707707
* `"deno"` - indicates a variation for the Deno platform.
708708
* `"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._
709712
* `"development"` - can be used to define a development-only environment
710713
entry point, for example to provide additional debugging context such as
711714
better error messages when running in a development mode. _Must always be

0 commit comments

Comments
 (0)