Changelog
v4.0.0
variables
property of all scopes has become a standard JavaScript Map
as opposed to the old bespoke Dictionary
object.terser --help
was fixedArray
and new Array
keep_quoted=strict
mode to mangle_props, which behaves more like Google Closure Compiler by mangling all unquoted property names, instead of reserving quoted property names automatically.Changelog
v3.17.0
hasOwnProperty.call
new Array(<number>)
with an array literalSet
and the includes
method for strings and arraysChangelog
v3.16.1
import
would cause it not to work due to the __esModule
property. (PR #254 was submitted, which was nice, but since it wasn't a pure commonJS approach I decided to go with my own solution)Changelog
v3.16.0