第7项:按路由加载页面并核验登录和开单冷启动预算

This commit is contained in:
黄健铭 committed 2026-12-05 08:25:22 -08:00
1 parent c6ad648d7e
commit f9cd68c569
71 files changed
+1250 -454

No files matched your search

+1 -9
View File
@@ -50,18 +50,10 @@ export default defineConfig({
server: { fs: { allow: [here, publicDir] } },
build: {
outDir: 'dist',
manifest: true,
emptyOutDir: true,
modulePreload: { polyfill: false },
chunkSizeWarningLimit: 2000,
rollupOptions: {
output: {
manualChunks(id) {
if (/node_modules[\\/](react|react-dom|scheduler)[\\/]/.test(id)) return 'react';
if (/node_modules[\\/](antd|@ant-design|rc-[^\\/]+|@rc-component)[\\/]/.test(id)) return 'antd';
return undefined;
},
},
},
},
test: {
environment: 'jsdom',