Add footer with mailto link, version and build date

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-15 20:57:12 +02:00
parent 534c055598
commit 99e274aed6
3 changed files with 16 additions and 2 deletions
+8 -1
View File
@@ -1,6 +1,13 @@
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
import { readFileSync } from 'fs';
const pkg = JSON.parse(readFileSync('./package.json', 'utf-8'));
export default defineConfig({
plugins: [sveltekit()]
plugins: [sveltekit()],
define: {
__APP_VERSION__: JSON.stringify(pkg.version),
__BUILD_DATE__: JSON.stringify(new Date().toLocaleDateString('de-DE')),
}
});