Reproduction link or steps
https://stackblitz.com/edit/github-4uhyd9gk?file=tsdown.config.ts,package.json,dist%2Findex.js
What is expected?
The output is
let e=!1;function t(){return e||=!0,e}export{t as fn};
like it was in tsdown 0.11.12.
What is actually happening?
The output is
let e=!1;function t(){return e||(e=!0),e}export{t as fn};
It does not use logical assignment.
Any additional comments?
Found in vitejs/vite#20140