Age | Commit message (Expand) | Author |
---|---|---|
2017-03-16 | make `collapse_vars` consistent with `toplevel` (#1608)...fixes #1605 | Alex Lam S.L |
2017-03-02 | optimize trivial IIFEs returning constants (#1530) | kzc |
2017-03-01 | invert `reduce_vars` tracking flag (#1519)...Modules like webpack and grunt-contrib-uglify still uses `ast.transform(compressor)` before `Compressor.compress(ast)` was introduced. Workaround this compatibility issue by deactivating `reduce_vars` in such case. Also fix use case with omitted `options` when calling `Compressor()`. fixes #1516 | Alex Lam S.L |
2017-02-28 | warn & drop `#__PURE__` iff IIFE is dropped (#1511)...- consolidate `side-effects` optimisations - improve string `+` optimisation - enhance literal & `conditionals` optimisations | Alex Lam S.L |
2017-02-27 | improve error messages (#1506)...- better inheritance of `Error` sub-classes - mark parse error against source in CLI closes #235 closes #348 closes #524 closes #1356 closes #1405 | Alex Lam S.L |
2017-02-25 | allow --in-source-map inline (#1490)...- limited to one input file (or `stdin`) - only works with built-in parser fixes #520 | Alex Lam S.L |
2017-02-21 | Support marking a call as pure...A function call or IIFE with an immediately preceding comment containing `@__PURE__` or `#__PURE__` is deemed to be a side-effect-free pure function call and can potentially be dropped. Depends on `side_effects` option. `[#@]__PURE__` hint will be removed from comment when pure call is dropped. fixes #1261 closes #1448 | kzc |
2016-11-29 | feat: add option.outFileName for JS API, if absense, sourceMap.file field wil... | 1111hui |
2016-10-23 | Add an option for writing inline source map | pengzhenqing |
2016-08-14 | Moved test input files to test/input. | Lucas Wiener |
2016-08-14 | Added test for #1236 | Lucas Wiener |
2016-06-19 | Respect quote style in object literals...The option added in fbbaa42ee55a7f753f7cab9b1a905ccf73cf26d5 wasn't being respected inside object literals, so quoted property names would still be stripped out with this option. This is mostly a corner-case, but useful when the output is passed to something like the Closure compiler, where quoted property names can be used to prevent mangling. | Shrey Banga |
2016-04-19 | Add `passes` compress option. Fix duplicate compress warnings. | kzc |