-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
process.env.EXPO_OS
platform env checks t…
…o reduce (#27636) # Why - Importing `react-native` (native or web) is heavy and can lead to places for web tree shaking to break. In root libraries such as `expo/metro-runtime` we should make all code paths as light as possible. - This change uses the `process.env.EXPO_OS` global transform to skip importing react-native at the bundle root for certain passes. --------- Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.