mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-11 12:07:32 +08:00
[+] Display splash and app version in frontend
This commit is contained in:
@@ -4,4 +4,7 @@ import { svelte } from '@sveltejs/vite-plugin-svelte'
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [svelte()],
|
||||
define: {
|
||||
APP_VERSION: JSON.stringify(process.env.npm_package_version),
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user