From 9d128a3763ec6939e8293631138b3ae59d93a0c0 Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Mon, 7 Nov 2022 15:52:53 +0000 Subject: [PATCH] doc: define "react-native" community condition --- doc/api/packages.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/api/packages.md b/doc/api/packages.md index 52ba6f432bbf84..165f063e1f7e27 100644 --- a/doc/api/packages.md +++ b/doc/api/packages.md @@ -706,6 +706,9 @@ is provided below to assist with ecosystem coordination. the given export. _This condition should always be included first._ * `"deno"` - indicates a variation for the Deno platform. * `"browser"` - any web browser environment. +* `"react-native"` - will be matched by the React Native framework (all + platforms). _To target React Native for Web, `"browser"` should be specified + before this condition._ * `"development"` - can be used to define a development-only environment entry point, for example to provide additional debugging context such as better error messages when running in a development mode. _Must always be