-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Milestone
Description
Describe the bug
I'm not sure it is a bug or not but terser seems to work with this pattern.
Input code
Config
Link to the code that reproduces this issue
SWC Info output
No response
Expected behavior
Like terser produces:
// terser option: { module: true, compress: { passes: 3 } }
let k=0;const fn=()=>console.log(k++);fn(),fn();
Actual behavior
let k = 0;
const fn = ()=>console.log(k++);
fn('Hi'), fn('Hi');
Version
1.13.5
Additional context
No response