-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Milestone
Description
Describe the feature
More or less a tracking issue for the points in #10220
-
comma expressions (implemented inreturn inlineMe(), 123
)es/minifier
: IIFE Invoker should invoke more arrow functions, like in sequence expressions #10859 - value in ternary expression (
return cond ? inlineMe() : 123
) - return in loop (labelled break?)
- simple condition (
if(inlineMe()) { ... }
/inlineMe() ? ... : ...
) - short circuiting (
return cond && inlineMe()
)
Babel plugin or link to the feature description
No response
Additional context
Sorted by my subjective opinion of implementation complexity (while barely knowing anything of the swc internals).
CPunisher