mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-22 22:02:38 +03:00
fix(config): updated env values loading
This commit is contained in:
1 file changed
+5
-1
+5
-1
@@ -48,6 +48,10 @@ export const config = figue({
|
||||
},
|
||||
},
|
||||
})
|
||||
.loadEnv(import.meta.env)
|
||||
.loadEnv({
|
||||
...import.meta.env,
|
||||
// Because the string 'import.meta.env.PACKAGE_VERSION' is statically replaced during build time (see 'define' in vite.config.ts)
|
||||
PACKAGE_VERSION: import.meta.env.PACKAGE_VERSION
|
||||
})
|
||||
.validate()
|
||||
.getConfig();
|
||||
Reference in new issue
Block a user