refactor: organize desktop vs. mobile into separate folders

This commit is contained in:
Arjun Patel
2026-04-29 08:42:56 -07:00
parent 3d9fe67936
commit 3a11a82cd3
194 changed files with 213 additions and 213 deletions
+13
View File
@@ -0,0 +1,13 @@
// Shared Vite `define` block that injects the build-time __APP_ENV__ constant
// consumed by src/config/env.ts. Sourced from process.env.APP_ENV (default 'dev').
const raw = process.env.APP_ENV ?? "dev";
if (raw !== "dev" && raw !== "prod") {
throw new Error(`APP_ENV must be "dev" or "prod", got: ${raw}`);
}
export const appEnv = raw;
export const defineEnv = {
__APP_ENV__: JSON.stringify(appEnv),
};