egoist / tsup

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

No warning when one of multiple entry points is not valid #1064

Open LorisSigrist opened 9 months ago

LorisSigrist commented 9 months ago

When using a single entry point that cannot be found, tsup errors and informs the user. But when using multiple entry points, one of which is invalid, the invalid entry point will quietly be ignored.

This can cause unexpected build behaviour. Users are also likely to stick with invalid configs for longer, as they don't realise there is something wrong.

 Expected Bahaviour

Fail compilation if any of the entry points are invalid & inform the user as to what happened

Upvote & Fund

Fund with Polar