mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-07-09 03:04:06 -04:00
fix(config): updated env values loading
This commit is contained in:
parent
a9a6526e75
commit
2f61c745f5
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user