Skip to content

Fixed named export for Bun#2677

Merged
prathmesh-stripe merged 5 commits intomasterfrom
prathmesh/fix-worker-export
Apr 8, 2026
Merged

Fixed named export for Bun#2677
prathmesh-stripe merged 5 commits intomasterfrom
prathmesh/fix-worker-export

Conversation

@prathmesh-stripe
Copy link
Copy Markdown
Contributor

@prathmesh-stripe prathmesh-stripe commented Apr 8, 2026

Why?

Named exports aren't working correctly for worker based ESM environments(e.g. Bun).

What?

  • Adds named export for ESM worker.
  • Adds testProject to test Bun support.

See Also

#2671

Changelog

// ✅ Fixed
import { Stripe } from 'stripe';

@prathmesh-stripe prathmesh-stripe force-pushed the prathmesh/fix-worker-export branch from d1a2ac9 to 4ed272e Compare April 8, 2026 14:59
@prathmesh-stripe prathmesh-stripe marked this pull request as ready for review April 8, 2026 15:01
@prathmesh-stripe prathmesh-stripe requested a review from a team as a code owner April 8, 2026 15:01
@prathmesh-stripe prathmesh-stripe requested review from mbroshi-stripe and removed request for a team April 8, 2026 15:01
@prathmesh-stripe prathmesh-stripe marked this pull request as draft April 8, 2026 15:06
@prathmesh-stripe prathmesh-stripe marked this pull request as ready for review April 8, 2026 15:14
@prathmesh-stripe prathmesh-stripe enabled auto-merge (squash) April 8, 2026 15:45
@prathmesh-stripe prathmesh-stripe merged commit f0cd24c into master Apr 8, 2026
10 checks passed
@prathmesh-stripe prathmesh-stripe deleted the prathmesh/fix-worker-export branch April 8, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants