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
Files to start with
sdk/package.json
tsup.config.ts
src/chains/stellar/index.ts
Tier: M (2-4 days) Type: perf / audit
Context
The
chains/stellarsubpath export should let consumers bundle only the Stellar code without pulling in shared utility files or unused exports. Today we have no measurements.Scope
rollup-plugin-visualizerpackage.jsonusingsize-limitAcceptance criteria
BUNDLE_SIZE.mdbaseline for the Stellar entrysize-limitconfig with Stellar budgetFiles to start with
sdk/package.jsontsup.config.tssrc/chains/stellar/index.ts