mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
fix hotfix for version metadata issue (#853)
This commit is contained in:
parent
df6925ac07
commit
63abf52000
@ -20,8 +20,8 @@ const getGitHash = () => {
|
|||||||
export default defineConfig((config) => {
|
export default defineConfig((config) => {
|
||||||
return {
|
return {
|
||||||
define: {
|
define: {
|
||||||
__COMMIT_HASH__: JSON.stringify(getGitHash()),
|
__COMMIT_HASH: JSON.stringify(getGitHash()),
|
||||||
__APP_VERSION__: JSON.stringify(process.env.npm_package_version),
|
__APP_VERSION: JSON.stringify(process.env.npm_package_version),
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
target: 'esnext',
|
target: 'esnext',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user