Skip to content

Add SDK browser bundle build #915

Description

@Haroldwonder

Overview\nThe SDK currently outputs CJS and ESM for Node.js. Add a browser-optimized UMD/ESM bundle that can be loaded from a CDN.\n\n## Tasks\n- [ ] Add browser entry to tsup.config.ts\n- [ ] Ensure no Node.js built-ins leak into the browser bundle\n- [ ] Add bundle size check in CI (warn if > 100 KB gzipped)\n- [ ] Test in a plain <script type="module"> environment\n\n## Acceptance Criteria\n- @swiftremit/sdk is usable in a browser without a bundler

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programenhancementNew feature or requestsdkSDK related issues

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions