forked from imbytecat/fullstack-starter
feat(server): add NODE_ENV to shared env schema
This commit is contained in:
@@ -9,6 +9,9 @@ export const env = createEnv({
|
|||||||
client: {
|
client: {
|
||||||
VITE_APP_TITLE: z.string().min(1).optional(),
|
VITE_APP_TITLE: z.string().min(1).optional(),
|
||||||
},
|
},
|
||||||
|
shared: {
|
||||||
|
NODE_ENV: z.enum(['development', 'production', 'test']),
|
||||||
|
},
|
||||||
runtimeEnv: process.env,
|
runtimeEnv: process.env,
|
||||||
emptyStringAsUndefined: true,
|
emptyStringAsUndefined: true,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user