mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
fix: createEnv by adding emptyStringAsUndefined (#317)
This commit is contained in:
@@ -6,6 +6,7 @@ import packageJson from "../package.json" with {type: "json"};
|
||||
const {version} = packageJson;
|
||||
|
||||
export const env = createEnv({
|
||||
emptyStringAsUndefined: true,
|
||||
server: {
|
||||
NEXT_PUBLIC_PROJECT_VERSION: z.string().optional(),
|
||||
|
||||
@@ -199,3 +200,4 @@ export const env = createEnv({
|
||||
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
+2
-1
@@ -33,7 +33,8 @@
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
".next/types/**/*.ts",
|
||||
".next/dev/types/**/*.ts"
|
||||
".next/dev/types/**/*.ts",
|
||||
".next/dev/dev/types/**/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
|
||||
Reference in New Issue
Block a user