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