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

If the target option is 'es5' and the format option is 'esm', the es6 syntax is like '?? 'will not be translated #1080

Open keer-tea opened 5 months ago

keer-tea commented 5 months ago

If the target option is 'es5' and the format option is 'esm', the es6 syntax is like '?? 'will not be translated.

Here's an example: https://stackblitz.com/edit/stackblitz-starters-9hw3hg?file=tsup.config.ts

Upvote & Fund

Fund with Polar

haydnhkim commented 4 months ago

check out v8.0.2!