Changelog
v5.27.1
collapse_vars
inlines await
expressions into non-async functions.Changelog
v5.27.0
minify_sync()
alternative to minify()
since there's no async code left.Changelog
v5.26.0
/*#__PURE__*/
annotation into account when the side_effects
compress option is off.preserve_annotations
option now automatically opts annotation comments in, instead of requiring the comments
option to be configured for this.()
)Changelog
v5.25.0
pure_new
option added to drop unused new
expressions.Changelog
v5.24.0
Changelog
v5.23.0
static {}
blocks.Changelog
v5.22.0
unsafe
ly shorten expressions like a?.toString() when they're conditional.Changelog
v5.21.0
Changelog
v5.20.0
minify()
zero files will now throw a clean exception (#1450)drop_console
supports passing in an array of console.*
method names (#1445)Changelog
v5.19.4
if..return