From 63abf52000e6145911d96313fecb9449397e7bfd Mon Sep 17 00:00:00 2001 From: Anirban Kar Date: Sat, 21 Dec 2024 02:24:57 +0530 Subject: [PATCH] fix hotfix for version metadata issue (#853) --- vite.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 105444498..312230a0a 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -20,8 +20,8 @@ const getGitHash = () => { export default defineConfig((config) => { return { define: { - __COMMIT_HASH__: JSON.stringify(getGitHash()), - __APP_VERSION__: JSON.stringify(process.env.npm_package_version), + __COMMIT_HASH: JSON.stringify(getGitHash()), + __APP_VERSION: JSON.stringify(process.env.npm_package_version), }, build: { target: 'esnext',