Fix production TypeScript builds and add DEPLOY.md so the app can be hosted from this repo. Co-authored-by: Cursor <cursoragent@cursor.com>
8 lines
250 B
TypeScript
8 lines
250 B
TypeScript
import { loadEnv, type Env } from './env.js';
|
|
|
|
export const env: Env = loadEnv();
|
|
|
|
export const isDevelopment = env.NODE_ENV === 'development';
|
|
export const isProduction = env.NODE_ENV === 'production';
|
|
export const isTest = env.NODE_ENV === 'test';
|