Files
test-x6/frontend/vite.config.ts
Alina 297e27171a feat: настройка CI/CD деплоя через ci-templates
Добавлены service.yaml, .drone.yml и корневой package.json с workspaces.
Обновлён vite.config.ts (code splitting: antd, x6), .gitignore (.ci, .claude, .serena).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 22:20:31 +03:00

17 lines
336 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
build: {
rollupOptions: {
output: {
manualChunks: {
antd: ['antd', '@ant-design/icons'],
x6: ['@antv/x6', '@antv/x6-react-shape'],
},
},
},
},
})