Skip to content

Commit

Permalink
fix hotfix for version metadata issue (stackblitz-labs#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodacus authored Dec 20, 2024
1 parent df6925a commit 63abf52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 63abf52

Please sign in to comment.