[+] Display splash and app version in frontend

This commit is contained in:
Azalea
2024-03-03 14:45:15 -05:00
parent c821626dc1
commit e842a37654
3 changed files with 15 additions and 0 deletions

View File

@@ -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),
},
})