MatthewWid / better-sse

⬆ Dead simple, dependency-less, spec-compliant server-sent events implementation for Node, written in TypeScript.
https://matthewwid.github.io/better-sse/
MIT License
558 stars 14 forks source link

Dual-export ESM and CJS builds. Migrate from webpack to tsup #74

Closed MatthewWid closed 1 month ago

MatthewWid commented 1 month ago

This PR migrates the build system from webpack to tsup and adds dual-exports to support both ESModules and CommonJS.

Resolves #60 and #71.