Добавлены 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>
17 lines
336 B
TypeScript
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'],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
})
|