diff options
Diffstat (limited to 'src/env.native.ts')
-rw-r--r-- | src/env.native.ts | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/env.native.ts b/src/env.native.ts deleted file mode 100644 index a2ec3a4dc..000000000 --- a/src/env.native.ts +++ /dev/null @@ -1,13 +0,0 @@ -// @ts-ignore types not available -prf -import {REACT_APP_BUILD} from '@env' - -if (typeof REACT_APP_BUILD !== 'string') { - throw new Error('ENV: No env provided') -} -if (!['dev', 'staging', 'prod'].includes(REACT_APP_BUILD)) { - throw new Error( - `ENV: Env must be "dev", "staging", or "prod," got "${REACT_APP_BUILD}"`, - ) -} - -export const BUILD = REACT_APP_BUILD |