docs: toplevel webkit option sets compress.webkit as well (#5480)

This commit is contained in:
Chen Yangjian
2022-06-02 02:44:06 +08:00
committed by GitHub
parent ad3a331ca3
commit 40e669eacb

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