feat(server): add NODE_ENV to shared env schema

This commit is contained in:
2026-02-09 01:59:45 +08:00
parent 7eccef5d8f
commit 18ce05854a

View File

@@ -9,6 +9,9 @@ export const env = createEnv({
client: {
VITE_APP_TITLE: z.string().min(1).optional(),
},
shared: {
NODE_ENV: z.enum(['development', 'production', 'test']),
},
runtimeEnv: process.env,
emptyStringAsUndefined: true,
})