aboutsummaryrefslogtreecommitdiff
path: root/test/compress/global_defs.js
AgeCommit message (Collapse)Author
2018-07-19fix corner case in `global_defs` (#3218)Alex Lam S.L
fixes #3217
2018-07-13fix corner cases in `preserve_line` (#3212)Alex Lam S.L
2018-07-01fix corner case in `unused`alexlamsl
2017-12-01improve compression of `if` conditions (#2544)Alex Lam S.L
2017-07-06inline property access of object literal (#2209)Alex Lam S.L
- only if property value is side-effect-free - guard by `unsafe` fixes #2208
2017-06-27parse `@global_defs` as expressions (#2169)Alex Lam S.L
- let parser rejects non-conformant input - eliminate need for extraneous parenthesis
2017-05-22improve usability of `global_defs` in `minify()` (#1987)Alex Lam S.L
Use `@key` to `parse()` string value as `AST_Node`. fixes #1986
2017-05-12remove support for `const` (#1910)Alex Lam S.L
As this is not part of ES5.
2017-04-08fix a couple of bugs in `global_defs` (#1802)Alex Lam S.L
- `optimize()` substituted expression - compute nested property string correctly fixes #1801 Miscellaneous - reset optimisation flags on all node types
2017-02-21enhance `global_defs`alexlamsl
- support arrays, objects & AST_Node - support `"a.b":1` on both cli & API - emit warning if variable is modified - override top-level variables fixes #1416 closes #1198 closes #1469