Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-01-19 | Have minify() and tests use figure_out_scope() as uglifyjs CLI does | kzc | |
Clarify docs, help and tests for --support-ie8 and screw_ie8=false | |||
2017-01-19 | Add note about name mangling when using --mangle-props=unquoted (#1314) | Wiktor Kwapisiewicz | |
2016-11-29 | docs: add doc for option.outFileName | 1111hui | |
2016-11-29 | Add --mangle-props-debug and fix --mangle-props=unquoted collision | Ashley (Scirra) | |
Patch by @AshleyScirra Based on: PR #1316 Renamed the CLI debug option to --mangle-props-debug Fixes: #1321 name collision in --mangle-props=unquoted | |||
2016-10-23 | Don't filter shebangs when using the 'some' comment filter | Anthony Van de Gejuchte | |
Also clarify documentation a bit more about using regexp as filter | |||
2016-10-23 | Add an option for writing inline source map | pengzhenqing | |
2016-10-01 | Optimize unmodified variables | alexlamsl | |
2016-09-06 | Make all comment options in cli available in js api | Anthony Van de Gejuchte | |
Also removing more code within "loop" while at it. | |||
2016-08-14 | Add missing `{` in README | Timothy Gu | |
Also fix a trivial style mistake. | |||
2016-07-17 | Fix the document of keep_fnames option | homuler | |
2016-07-17 | Source map URL override from programmatic API | Yotam Spenser | |
2016-07-01 | Document that the smallest sequences optimization length is 2 | kzc | |
and a sequences value of 1 is considered to be `true` - which will be set to the default value of 200. | |||
2016-07-01 | Change the default sequences limit to 200 to speed up compress. | kzc | |
Has little or no impact on minification size in the majority of cases but can speed up rollup builds significantly. This sequences change also has the beneficial side effect of avoiding "stack size exceeded" errors on very large input files. The user is free to alter the sequences limit if they are so inclined. The previous sequences limit was 2000. 20 is often sufficient. | |||
2016-07-01 | Allow sequences maximum length to be user configurable. | kzc | |
2016-06-30 | Enable --screw-ie8 by default. | kzc | |
catch identifier is mangled correctly for ES5 standards-compliant JS engines by default. Unconditionally use the ie8 if/do-while workaround whether or not --screw-ie8 is enabled. To support non-standard ie8 javascript use: uglifyjs --support-ie8 | |||
2016-06-30 | Add Node API documentation for mangling options | iliashk | |
2016-06-19 | Document the except option to mangle | Asia | |
Added documentation for the `except` option to the `mangle` option in the API reference. | |||
2016-06-19 | Respect quote style in object literals | Shrey Banga | |
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. | |||
2016-06-19 | Don't mix strings with directives in output | Anthony Van de Gejuchte | |
* Don't interpret strings with escaped content as directive * Don't interpret strings after empty statement as directive * Adapt output to prevent strings being represent as directive * Introduce UGLIFY_DEBUG to allow internal testing like EXPECT_DIRECTIVE | |||
2016-06-15 | Fix test262 failures related to <, <=, in and instanceof | Anthony Van de Gejuchte | |
Fixed-by: @kzc | |||
2016-04-19 | Add `passes` compress option. Fix duplicate compress warnings. | kzc | |
2016-03-27 | added documentation on conditional compilation using API | Sebastien Daniel | |
2016-02-27 | #877 Ignore mangle sort option | kzc | |
2016-02-11 | Merge pull request #948 from kzc/collapse_vars_doc | Richard van Velzen | |
collapse_vars: document the compress option in README | |||
2016-02-08 | Create and map `bare-returns` into new `parse` property name | Martii | |
2016-01-28 | collapse_vars: small change to README | kzc | |
2016-01-28 | collapse_vars: document option in README | kzc | |
2016-01-27 | Add mangleProperties documentation to README | Bryan Rayner | |
Add additional documentation to mangleProperties. | |||
2016-01-26 | Added a mangle properties option | Jeremy Marzka | |
2016-01-19 | Update README for /** @const */ | Samuel Reed | |
2015-11-27 | Update README URLs based on HTTP redirects | ReadmeCritic | |
2015-11-14 | Fix docs for keep_fargs | plievone | |
Compression options `keep_fargs` and `unsafe` were decoupled in v.2.5.0 (commit 5fd1245), so document actual keep_fargs default. | |||
2015-10-13 | add `--pure-funcs` option | Damian Krzeminski | |
it has the same effect as specifying `pure_funcs` in `--compressor` option, however it's much easier to use instead of: --compressor 'pure_func=["Math.floor","debug","console.logTime"]' it's now possible: --compressor --pure-funcs Math.floor debug console.logTime fixes #684 | |||
2015-08-07 | Merge pull request #729 from DrewML/keep_fnames_docs | Richard van Velzen | |
Add keep_fnames compressor option to README.md | |||
2015-06-09 | Change --mangle-regex to accept a full regex | Joao Carlos | |
2015-06-09 | Add --mangle-regex option | Joao Carlos | |
2015-06-02 | Add keep_fnames compressor option to README.md | Andrew Levine | |
2015-04-03 | Document passing source maps directly to minify() using inSourceMap | David Caldwell | |
2015-03-29 | Update README | Mihai Bazon | |
2015-03-20 | Keep unused function arguments by default | Mihai Bazon | |
Discarding unused function arguments affects function.length, which can lead to some hard to debug issues. This optimization is now done only in "unsafe mode". Fix #121 | |||
2015-01-27 | Add option to preserve/enforce string quote style | Mihai Bazon | |
`-q 0` (default) use single or double quotes such as to minimize the number of bytes (prefers double quotes when both will do); this is the previous behavior. `-q 1` -- always use single quotes `-q 2` -- always use double quotes `-q 3` or just `-q` -- always use the original quotes. Related codegen option: `quote_style`. Close #495 Close #460 Some `yargs` guru please tell me why `uglifyjs --help` doesn't display the help string for `-q` / `--quotes`, and why it doesn't output the expected argument types anymore, like good old `optimist` did. | |||
2015-01-07 | Document `--` for usage in CLI class | Richard van Velzen | |
Close #518 | |||
2015-01-04 | Update README.md | Austin Brown | |
otions => options | |||
2015-01-04 | Use svg instead of png to get better image quality | Peter Dave Hello | |
2014-09-28 | Document `keep_fargs`. Close #557 | Mihai Bazon | |
2014-08-04 | Added example for usage with SpiderMonkey AST. | Ingvar Stepanyan | |
2014-02-06 | fix readme typo (when -> with) | Vladimir Agafonkin | |
2014-01-26 | Merge branch 'sourcesContent' of https://github.com/arty-name/UglifyJS2 into ↵ | Mihai Bazon | |
arty-name-sourcesContent | |||
2014-01-17 | Fix example | Mihai Bazon | |
2014-01-09 | Added support for sourcesContent property of source map | Artemy Tregubenko | |