Collection of handy online tools for developers, with great UX.
TypeScript converterdeveloper-productivitydeveloper-toolsfrontendjavascriptproductivitytooltoolstypescriptvuejswebsite
fix(config): updated env values loading
Corentin Thomasset2f61c745f579
diff --git a/src/config.ts b/src/config.tsindex a73a916e..ce8e2efb 100644--- a/src/config.ts+++ b/src/config.ts@@ -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();