Changelog
v4.6.2
/*#__NOINLINE__*/
annotation fixed for more use cases where inlining happens.Changelog
v4.6.1
Changelog
v4.6.0
Changelog
v4.5.1
(hotfix release)
() => ({})[something]
was not parenthesised correctly.Changelog
v4.5.0
keep_numbers
has been added, which prevents Terser from turning 1000
into 1e3
and suchChangelog
v4.4.3
/*#__INLINE__*/
annotation fixed for arrow functions with non-block bodies.Changelog
v4.4.2
Changelog
v4.4.1
note: This introduced a feature, therefore it should have been a minor release.
unsafe
was enabled.let
statements might be collapsed out of their scope.Changelog
v4.4.0
/*#__INLINE__*/
and /*#__NOINLINE__*/
annotations for calls. If a call has one of these, it either forces or forbids inlining.Changelog
v4.3.11
window
was considered safe to access, even though there are situations where it isn't (Node.js, workers...)++
and --
were considered side-effect freeNumber(x)
now needs both unsafe
and and unsafe_math
to be compressed into +x
because x
might be a BigInt
keep_fnames
now correctly supports regexes when the function is in a variable declaration