From 23ff5057b26cf7a39b3a1fae156ae326b6413f4a Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Mon, 28 Nov 2022 12:54:19 +0000 Subject: [PATCH] doc: define "react-native" community condition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/45367 Reviewed-By: Matteo Collina Reviewed-By: Michael Dawson Reviewed-By: Chengzhong Wu Reviewed-By: Jan Krems Reviewed-By: Michaƫl Zasso Reviewed-By: James M Snell --- doc/api/packages.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/api/packages.md b/doc/api/packages.md index d781dfc02ccc25..aadfb765152712 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