code spliting und language 2

This commit is contained in:
Ashikagi
2026-03-23 23:57:26 +01:00
parent 8b21c5e3d4
commit fe27ec2beb
19 changed files with 335 additions and 349 deletions

View File

@@ -3,6 +3,19 @@ import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
build: {
chunkSizeWarningLimit: 600,
rollupOptions: {
output: {
manualChunks: {
'vendor-react': ['react', 'react-dom'],
'vendor-supabase': ['@supabase/supabase-js'],
'vendor-ui': ['lucide-react', 'country-flag-icons'],
'vendor-xlsx': ['xlsx'],
},
},
},
},
test: {
environment: 'node',
include: ['src/**/*.test.{js,jsx}']