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