unjs / crossws

🔌 Cross-platform WebSocket Servers for Node.js, Deno, Bun and Cloudflare Workers.
https://crossws.unjs.io
Other
394 stars 17 forks source link

build!: esm-only build #63

Closed pi0 closed 3 months ago

pi0 commented 3 months ago

This PR drops CommonJS support in order to reduce package installation size.

This PR also updated unbuild to 3.x with little more modern syntanx.

ComonJS users should use dynamic import.

cloudflare-workers-and-pages[bot] commented 3 months ago

Deploying crossws with  Cloudflare Pages  Cloudflare Pages

Latest commit: a22ce2e
Status: âœ…  Deploy successful!
Preview URL: https://9b749a57.crossws.pages.dev
Branch Preview URL: https://build-drop-cjs.crossws.pages.dev

View logs