docs: toplevel webkit option sets compress.webkit as well

This commit is contained in:
Chen Yangjian 2022-06-01 15:21:27 +08:00
parent 3c9e1693d5
commit 5c46e075ba

View File

@ -147,7 +147,7 @@ a double dash to prevent input files being used as option arguments:
--warn Print warning messages.
--webkit Support non-standard Safari/Webkit.
Equivalent to setting `webkit: true` in `minify()`
for `mangle` and `output` options.
for `compress`, `mangle` and `output` options.
By default UglifyJS will not try to be Safari-proof.
--wrap <name> Embed everything in a big function, making the
“exports” and “global” variables available. You