Tier: M (2-4 days) | Type: perf
Context. package.json size-limit today gates only dist/chains/stellar/* at 20 KB (see PR #89). EVM, Solana, CKB, /vault, and the root agent entry can drift arbitrarily large between PRs. With v1.0 shipped, we lock a budget per public entry and fail CI when a change blows it.
Scope.
- Add size-limit blocks for every entry in
package.json exports (evm, solana, ckb, vault, root).
- Budgets chosen from the current baseline plus 15 percent headroom.
- CI job
pnpm size runs on every PR touching src/.
- Update
BUNDLE_SIZE.md with the full table and the tool commands.
Acceptance.
Files. package.json, BUNDLE_SIZE.md, .github/workflows/ci.yml.
Tier: M (2-4 days) | Type: perf
Context.
package.jsonsize-limittoday gates onlydist/chains/stellar/*at 20 KB (see PR #89). EVM, Solana, CKB,/vault, and the root agent entry can drift arbitrarily large between PRs. With v1.0 shipped, we lock a budget per public entry and fail CI when a change blows it.Scope.
package.jsonexports(evm, solana, ckb, vault, root).pnpm sizeruns on every PR touchingsrc/.BUNDLE_SIZE.mdwith the full table and the tool commands.Acceptance.
package.jsonpnpm sizeblocks PRs that exceed any budgetBUNDLE_SIZE.mdregenerated with real numbers, not TBD placeholdersFiles.
package.json,BUNDLE_SIZE.md,.github/workflows/ci.yml.