Remove deprecated scripts for adding head-matter to wt_config.xml, including Python and Bash implementations, to streamline configuration management.

This commit is contained in:
Torsten Schulz (local)
2025-12-04 16:34:45 +01:00
parent 4b674c7c60
commit 6e9116e819
13187 changed files with 1493219 additions and 337 deletions

57
client/vite.config.js Normal file
View File

@@ -0,0 +1,57 @@
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import { fileURLToPath } from 'url';
import { dirname, resolve } from 'path';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
export default defineConfig({
plugins: [vue()],
root: __dirname,
server: {
port: 5175,
hmr: false,
proxy: {
'/api': {
target: 'http://localhost:3300',
changeOrigin: true,
secure: false,
ws: false
},
'/static': {
target: 'http://localhost:3300',
changeOrigin: true,
secure: false
}
},
watch: {
ignored: [
'**/node_modules/**',
'**/dist/**',
'**/.git/**',
resolve(__dirname, '../server/**'),
resolve(__dirname, '../docroot/**'),
resolve(__dirname, '../src/**'),
resolve(__dirname, '../logs/**'),
'!**/client/src/**'
]
}
},
build: {
outDir: 'dist',
emptyOutDir: true,
assetsDir: 'assets',
sourcemap: false,
minify: 'terser',
rollupOptions: {
output: {
manualChunks: {
'vue-vendor': ['vue', 'vue-router', 'pinia'],
'socket-vendor': ['socket.io-client']
}
}
}
}
});