Skip to content

Tree-shaking audit + bundle size budget for Stellar entry #57

Description

@truthixify

Tier: M (2-4 days) Type: perf / audit

Context

The chains/stellar subpath export should let consumers bundle only the Stellar code without pulling in shared utility files or unused exports. Today we have no measurements.

Scope

  • Measure the Stellar entry's bundle size against both Vite and esbuild
  • Visualize the dependency graph via rollup-plugin-visualizer
  • Set a Stellar bundle size budget in package.json using size-limit
  • CI gate fails on budget overage
  • Identify and fix any accidental imports that pull non-Stellar code into the Stellar entry

Acceptance criteria

  • BUNDLE_SIZE.md baseline for the Stellar entry
  • size-limit config with Stellar budget
  • CI gate
  • At least one identified optimization landed (or documented as already-tight)

Files to start with

  • sdk/package.json
  • tsup.config.ts
  • src/chains/stellar/index.ts

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programauditProduces a written report as primary deliverabledripsFunded via Drips Networkhelp wantedExtra attention is neededperfPerformance / optimization

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions