Aktualisiere die Version auf 3.1.1 und entferne die veraltete APP_VERSION-Konstante
All checks were successful
Deploy production / deploy (push) Successful in 1m1s

This commit is contained in:
Torsten Schulz (local)
2026-08-27 07:30:38 +02:00
parent 4787700cd0
commit c239ef19d1
6 changed files with 12 additions and 12 deletions

View File

@@ -1,8 +1,16 @@
import { fileURLToPath, URL } from 'node:url'
import { readFileSync } from 'node:fs'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
const { version } = JSON.parse(
readFileSync(new URL('../package.json', import.meta.url), 'utf-8')
)
export default defineConfig({
define: {
__APP_VERSION__: JSON.stringify(version)
},
plugins: [vue()],
resolve: {
alias: {
@@ -44,4 +52,3 @@ export default defineConfig({
// Base-URL für Produktion
base: '/'
})