nex_animation/frontend/chunk-budget.json

11 lines
1.3 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{
"_what": "构建产物体积预算(scripts/ui/chunkbudget.mjs 的来源 C · 阶段 24 登记)",
"budget": 1500000,
"_unit": "字节,十进制 kB(kB = 1000 B),与 vite 控制台 / chunkSizeWarningLimit / 阶段 15 基线同一把尺",
"_why": "1 500 kB = 阶段 15 基线单块峰值 1 275.93 kB(当时块名 ui-*.js)之上留 17.5 % 余量:够一次正常功能增量,不够一次无声的重依赖引入。这个数字与 chunkbudget.mjs 的兜底值 FALLBACK_KB 相同 ⇒ 登记它不放宽也不收紧判定,只是把「上限是谁说的」从脚本里的常数换成可评审、可 diff 的项目文件。",
"_scope": "全局上限,逐文件判定;未启用 name/type 作用域(要用时按 rollup 的形状写数组即可,脚本已支持)",
"_observed": "2026-11-09 09:18 产物实测最大块 assets/WarningOutlined-BEwHRRI6.js = 1 217 164 B = 1 217.16 kB,余量 282.84 kB(23.2 %);vite 的 chunkSizeWarningLimit 仍是 1 200 kB,那条 (!) Some chunks are larger 照旧常驻,本文件不是用来捂警告的",
"_rules": "越界先查成分(node scripts/ui/chunkinfo.mjs),不许调大这个数字把警告捂住;确需调整必须在 docs/UI规范.md §13.11 说明依据与改前改后同尺读数",
"_reviewed": "阶段 24(2026-11-09)"
}