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
All checks were successful
Deploy production / deploy (push) Successful in 1m1s
This commit is contained in:
@@ -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: '/'
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user