perf(build): 优化开发预热与首屏分包懒加载

减少应用启动时的静态依赖,增加首屏体积预算与懒加载边界校验。验证通过:875 项单测、UI 依赖审计、ESLint、Prettier、生产构建与首屏产物校验;Chrome 模拟回归通过。
This commit is contained in:
zhanjunhao
2026-11-20 15:03:30 +08:00
parent d90319f43a
commit 72e7fe1072
14 changed files with 161 additions and 33 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import { ThemeProvider } from './context/Theme';
import PageLayout from './components/layout/PageLayout';
import i18n, { loadLanguage } from './i18n/i18n';
import { bootstrapLanguage, createBrowserEnv } from './i18n/bootstrap';
import { API } from './helpers';
import { API } from './helpers/api';
import './styles/tokens.css';
import './index.css';
import './styles/action-icons.css';