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…
	
		Reference in New Issue
	
	Block a user