fix: empty env variables should be ignored (#2040)

* fix: empty env variables should be ignored

* fix: e2e test fails because of empty env variable values
This commit is contained in:
Meier Lukas authored and GitHub committed 2025-01-21 13:09:49 +01:00
1 parent c922c5b083
commit 175927970b
5 files changed
+12 -4

No files matched your search

+1
View File
@@ -35,4 +35,5 @@ export const env = createEnv({
// NEXT_PUBLIC_CLIENTVAR: process.env.NEXT_PUBLIC_CLIENTVAR,
},
skipValidation: shouldSkipEnvValidation(),
emptyStringAsUndefined: true,
});