Remove the environment indirections (#7089)

* Use raw underlying globals for environment

* Set dev EXPO_PUBLIC_ENV by exclusion
This commit is contained in:
dan
2024-12-13 17:16:53 +00:00
committed by GitHub
parent e2a7965e43
commit 356dad1932
18 changed files with 32 additions and 50 deletions
+2 -2
View File
@@ -17,8 +17,8 @@ logger.error(error[, metadata])
#### Modes
The "modes" referred to here are inferred from the values exported from `#/env`.
Basically, the booleans `IS_DEV` and `IS_PROD`.
The "modes" referred to here are inferred from `process.env.NODE_ENV`,
which matches how React Native sets the `__DEV__` global.
#### Log Levels