All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 54s
- Changed file permissions from 644 to 755 for various files in the mobile-app and mobile-app_legacy_rn_expo directories, ensuring executable permissions where necessary. - Added a new SQL migration script to the backend to introduce missing columns for club billing and invoice settings in the clubs table, maintaining synchronization with the current Sequelize model.
49 lines
1.2 KiB
JavaScript
Executable File
49 lines
1.2 KiB
JavaScript
Executable File
import { defineConfig } from 'vite';
|
|
import vue from '@vitejs/plugin-vue';
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
mode: 'development',
|
|
build: {
|
|
chunkSizeWarningLimit: 700,
|
|
rollupOptions: {
|
|
output: {
|
|
manualChunks(id) {
|
|
if (!id.includes('node_modules')) {
|
|
return;
|
|
}
|
|
|
|
if (id.includes('vue-router')) return 'router';
|
|
if (id.includes('vue-i18n')) return 'i18n';
|
|
if (id.includes('vuex')) return 'store';
|
|
if (id.includes('socket.io-client')) return 'socket';
|
|
if (id.includes('html2canvas')) return 'html2canvas';
|
|
if (id.includes('jspdf')) return 'jspdf';
|
|
if (id.includes('sortablejs')) return 'sortable';
|
|
if (id.includes('crypto-js')) return 'crypto';
|
|
if (id.includes('axios')) return 'http';
|
|
|
|
return 'vendor';
|
|
}
|
|
}
|
|
}
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@': '/src'
|
|
}
|
|
},
|
|
server: {
|
|
host: true,
|
|
allowedHosts: ['trainer.localhost', 'club.localhost', 'player.localhost'],
|
|
port: 5000,
|
|
watch: {
|
|
usePolling: true,
|
|
},
|
|
hmr: {
|
|
protocol: 'ws',
|
|
port: 5000,
|
|
}
|
|
},
|
|
});
|