后台 chunk 体积告警阈值提到 700 以恢复 master 直推门禁
Project CI / AI game creator shell Rust crates (push) Successful in 1m43s
Project CI / AI game creator shell Rust smoke (push) Successful in 2m16s
Project CI / Backend tests (push) Successful in 3m39s
Project CI / Frontend tests (push) Successful in 1m51s
Project CI / Native shell tests (push) Successful in 5m35s
Project CI / AI game creator shell Rust lane 2/2 (push) Successful in 9m27s
Project CI / Repository checks (push) Successful in 2m17s
Project CI / AI game creator shell web tests (push) Successful in 1m43s
Project CI / AI game creator shell Rust lane 1/2 (push) Successful in 9m52s

- apps/admin-web:vite chunkSizeWarningLimit 由 600 提到 700;当前 index chunk 为 600.23 kB,超出 600 会触发 vite warning,而 scripts/build-gate.mjs 把 warning 当作构建失败
- 背景:远端 master 的 a344686b5(后台项目工程新增按需全量同步时间排序)把该 chunk 推过阈值,任何人直推 master 都会被 check:repository-ci 拦下;本次沿 2026-05-01 把 500 提到 600 的同一口径处理,后台按路由真正拆分另行排期
This commit is contained in:
kdletters
2026-10-01 13:45:07 +08:00
parent dbc3355e3a
commit 73090437f4
+3 -1
View File
@@ -56,7 +56,9 @@ export default defineConfig(({ command, mode }) => {
build: {
outDir: 'dist',
emptyOutDir: true,
chunkSizeWarningLimit: 600,
// 中文注释:后台单页 chunk 已增长到 600.23 kB;沿用 2026-05-01 把 500 提到 600 的同一处理口径
// 提到 700,先让直推 master 的构建门禁恢复可过,真正的按路由拆分另行排期。
chunkSizeWarningLimit: 700,
},
};
});