8 Replies
Just tried it on my (local) project and it worked 🙂
That's awesome!
Nice!
Very handy to know, I use Stripe often via a Worker.
I forget how wrangler's esbuild does module resolution. Did you need to import
stripe/worker, or did it just work?OH you wrote that blog about using stripe with workers that helped me, I was gonna DM you and tell you that it just changed lol. Thank you for writing that!
They export it as the
browser exports too and I think wrangler's esbuild config might prefer browser... so it might just workJust works, dont need to change import
Hah yes, glad it was helpful! I will definitely need to update that once I get a chance to test 😄
Awesome!