egoist / tsup

The simplest and fastest way to bundle your TypeScript libraries.
https://tsup.egoist.dev
MIT License
8.48k stars 209 forks source link

Emit warning when`cjsInterop` is enabled without `splitting` #1033

Open dhowe opened 8 months ago

dhowe commented 8 months ago

Either emit a warning whencjsInterop is enabled without splitting. Another option might be to automatically enable splitting when cjsInterop is enabled. But otherwise cjsInterop has no effect and it is unclear why.

Upvote & Fund

Fund with Polar

sxzz commented 7 months ago

PR welcome.