Skip to content

Commit

Permalink
Update docs for resolver.unstable_conditionNames to include default s…
Browse files Browse the repository at this point in the history
…et by RN CLI

Summary: See react-native-community/cli#1862.

Reviewed By: jacdebug

Differential Revision: D43876358

fbshipit-source-id: 0b075956ef8e6254beed7c8572b1c99ba9649ffe
  • Loading branch information
huntie authored and facebook-github-bot committed Mar 15, 2023
1 parent f36ce68 commit 9c8c764
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,12 @@ Conditions may be any string value and are resolved in the order specified by ea
Defaults to `['import', 'require']`.
:::note
When Metro is started via React Native CLI, `conditionNames` defaults to `['import', 'require', 'react-native']`.
:::
#### `unstable_conditionsByPlatform` <div class="label experimental">Experimental</div>
Type: `{[platform: string]: Array<string>}`
Expand Down

0 comments on commit 9c8c764

Please sign in to comment.