Sebastien Daniel
9bcf702a6e
added documentation on conditional compilation using API
2016-03-27 19:42:52 +02:00
kzc
102d1b9137
#877 Ignore mangle sort option
2016-02-27 15:33:10 -05:00
Richard van Velzen
63b01fe8f9
Merge pull request #948 from kzc/collapse_vars_doc
...
collapse_vars: document the compress option in README
2016-02-11 22:13:30 +01:00
Martii
cdba43cfa4
Create and map bare-returns into new parse property name
2016-02-08 10:45:42 +01:00
kzc
12e6ad326c
collapse_vars: small change to README
2016-01-28 11:04:30 -05:00
kzc
00c8d1d241
collapse_vars: document option in README
2016-01-28 11:01:17 -05:00
Bryan Rayner
3eb9101918
Add mangleProperties documentation to README
...
Add additional documentation to mangleProperties.
2016-01-27 14:24:32 -06:00
Jeremy Marzka
799509e145
Added a mangle properties option
2016-01-26 22:10:08 +01:00
Samuel Reed
918c17bd88
Update README for /** @const */
2016-01-19 13:24:36 -06:00
ReadmeCritic
e87c77ed41
Update README URLs based on HTTP redirects
2015-11-27 08:46:55 -08:00
plievone
645626ebe8
Fix docs for keep_fargs
...
Compression options `keep_fargs` and `unsafe` were decoupled in v.2.5.0 (commit 5fd1245 ), so document actual keep_fargs default.
2015-11-14 11:38:00 +02:00
Damian Krzeminski
d5138f7467
add --pure-funcs option
...
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-10-13 21:24:14 -04:00
Richard van Velzen
d7a4a4a462
Merge pull request #729 from DrewML/keep_fnames_docs
...
Add keep_fnames compressor option to README.md
2015-08-07 14:11:50 +02:00
Joao Carlos
0b82e1cd5b
Change --mangle-regex to accept a full regex
2015-06-09 15:14:41 +03:00
Joao Carlos
0ac6918a41
Add --mangle-regex option
2015-06-09 14:16:50 +03:00
Andrew Levine
65ee5af78c
Add keep_fnames compressor option to README.md
2015-06-02 15:32:10 -05:00
David Caldwell
2850dc69fd
Document passing source maps directly to minify() using inSourceMap
2015-04-03 17:27:28 -07:00
Mihai Bazon
3ec11c781b
Update README
2015-03-29 13:13:40 +03:00
Mihai Bazon
ecfd881ac6
Keep unused function arguments by default
...
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-03-20 10:28:51 +02:00
Mihai Bazon
fbbaa42ee5
Add option to preserve/enforce string quote style
...
`-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-27 22:26:27 +02:00
Richard van Velzen
285bffd2c6
Document -- for usage in CLI class
...
Close #518
2015-01-07 19:04:10 +01:00
Austin Brown
aa5dd15352
Update README.md
...
otions => options
2015-01-04 16:01:53 +01:00
Peter Dave Hello
5bff65c132
Use svg instead of png to get better image quality
2015-01-04 15:58:00 +01:00
Mihai Bazon
a64bdda9ae
Document keep_fargs. Close #557
2014-09-28 12:36:36 +03:00
Ingvar Stepanyan
e391367488
Added example for usage with SpiderMonkey AST.
2014-08-04 20:48:14 +03:00
Vladimir Agafonkin
9b404f9de6
fix readme typo (when -> with)
2014-02-06 18:11:33 +02:00
Mihai Bazon
1dd05f44eb
Merge branch 'sourcesContent' of https://github.com/arty-name/UglifyJS2 into arty-name-sourcesContent
2014-01-26 10:15:24 +02:00
Mihai Bazon
1ab2fdaa10
Fix example
2014-01-17 15:48:47 +02:00
Artemy Tregubenko
03cf94ebe8
Added support for sourcesContent property of source map
2014-01-09 15:12:00 +01:00
Mihai Bazon
dc5f70eab5
Add drop_console option to the compressor
2013-12-10 19:44:41 +02:00
Mihai Bazon
263577d5eb
[README] Fix #278
2013-10-30 14:13:30 +02:00
Mihai Bazon
f1b7094a57
Add "preamble" output option
...
Close #335
2013-10-29 11:09:18 +02:00
Mihai Bazon
f2348dd98b
Rename clean_getters to pure_getters; add pure_funcs.
2013-10-04 13:17:25 +03:00
Mihai Bazon
8cc86fee60
add clean_getters compressor option (default false)
...
allows one to specify if `foo.bar` is considered to have side effects.
2013-10-02 19:38:01 +03:00
Mihai Bazon
1a95007ec1
Remove --ie-proof from the readme.
...
Fix #276
2013-08-22 10:10:25 +03:00
Mihai Bazon
ed80b4a534
Move support for negate_iife in the compressor, rather than code generator
...
(the code generator doesn't maintain enough context to know whether
the return value is important or discarded)
Fixes #272
2013-08-20 17:45:52 +03:00
Mihai Bazon
6ea3f7fe34
fix usage
2013-08-08 09:15:13 +03:00
Mihai Bazon
4aa4b3e694
Support -p relative. Fix #256
2013-08-07 11:43:47 +03:00
Mihai Bazon
9fc6796d2a
Add negate_iife option to the code generator.
...
See discussion in a9511dfbe5
2013-05-22 21:22:14 +03:00
Nick Schonning
46814f88d9
Add Travis build badge to README
2013-05-08 23:48:12 -04:00
Kim Joar Bekkelund
790b3bcdc6
Fix typo in bin and readme
2013-05-02 11:15:33 +02:00
Uli Köhler
a54b6703c0
Add README syntax highlighting
2013-05-01 15:56:20 +02:00
Michael Ficarra
483e0cadfb
unbalanced parentheses in readme
2013-04-20 14:05:52 -05:00
Michał Gołębiowski
75f0bbe6e8
renamed --screw-ie to --screw-ie8, documented it in README.md, indicated it doesn't break IE9+
2013-03-25 17:03:21 +01:00
Mihai Bazon
9b1a40dfc3
Support mangling toplevel names
...
Close #127
2013-03-13 09:44:06 +02:00
Mihai Bazon
e4b078cff7
Disable unsafe by default
...
Close #147
2013-03-11 00:04:31 +02:00
Mihai Bazon
e9a571b2a1
Merge pull request #94 from paulmillr/patch-1
...
Add better fromstring docs.
2013-01-31 23:50:59 -08:00
Mihai Bazon
297af47c89
Add --source-map-url option
...
Fix #100
Fix #47
2013-01-20 12:32:07 +02:00
Forbes Lindesay
c13e7e621d
Update installation instructions re #4
2013-01-17 00:13:42 +00:00
Paul Miller
ad071f8017
Add better fromstring docs.
2013-01-13 18:45:43 +02:00