egoist / tsup

The simplest and fastest way to bundle your TypeScript libraries.

Home Page:https://tsup.egoist.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

keer-tea opened this issue · comments

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

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar

check out v8.0.2!