mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 03:47:49 +01:00
feat: add git hash of build everywhere
This commit is contained in:
@@ -18,7 +18,8 @@ import { defineConfig } from 'vite';
|
||||
export default defineConfig({
|
||||
plugins: [sveltekit()],
|
||||
define: {
|
||||
APP_VERSION: JSON.stringify(process.env.npm_package_version)
|
||||
APP_VERSION: JSON.stringify(process.env.npm_package_version),
|
||||
APP_HASH: JSON.stringify(process.env.WEBUI_VERSION || 'dev-build')
|
||||
},
|
||||
worker: {
|
||||
format: 'es'
|
||||
|
||||
Reference in New Issue
Block a user