fix hotfix for version metadata issue (#853)
Some checks failed
Update Stable Branch / prepare-release (push) Waiting to run
Docs CI/CD / build_docs (push) Has been cancelled

This commit is contained in:
Anirban Kar 2024-12-21 02:24:57 +05:30 committed by GitHub
parent df6925ac07
commit 63abf52000
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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',