From 97654b58114ec4557d25ef0cb2796705918760dd Mon Sep 17 00:00:00 2001 From: lobetia Date: Tue, 1 Oct 2024 00:49:24 +0200 Subject: [PATCH] emptyStringAsUndefined disabled --- src/env.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/env.js b/src/env.js index d33f651..32b1a6d 100644 --- a/src/env.js +++ b/src/env.js @@ -15,7 +15,7 @@ export const env = createEnv({ * Makes it so that empty strings are treated as undefined. `SOME_VAR: z.string()` and * `SOME_VAR=''` will throw an error. */ - emptyStringAsUndefined: true, + emptyStringAsUndefined: false, /** * You can't destruct `process.env` as a regular object in the Next.js edge runtimes (e.g.