Explain mangle-props better in readme
This commit is contained in:
parent
af42bbe976
commit
3eed8181d9
16
README.md
16
README.md
|
|
@ -135,14 +135,14 @@ The available options are:
|
||||||
--mangle-props
|
--mangle-props
|
||||||
--mangle-props Mangle property names (default `0`). Set to
|
--mangle-props Mangle property names (default `0`). Set to
|
||||||
`true` or `1` to mangle all property names. Set
|
`true` or `1` to mangle all property names. Set
|
||||||
to `2` to only mangle unquoted property names.
|
to `unquoted` or `2` to only mangle unquoted
|
||||||
This also enables the `keep_quoted_props`
|
property names. Mode `2` also enables the
|
||||||
beautifier option to preserve the quotes around
|
`keep_quoted_props` beautifier option to
|
||||||
property names and disables the `properties`
|
preserve the quotes around property names and
|
||||||
compressor option to prevent rewriting quoted
|
disables the `properties` compressor option to
|
||||||
properties with dot notation. You can override
|
prevent rewriting quoted properties with dot
|
||||||
these by setting them explicitly on the command
|
notation. You can override these by setting
|
||||||
line.
|
them explicitly on the command line.
|
||||||
--mangle-regex Only mangle property names matching the regex
|
--mangle-regex Only mangle property names matching the regex
|
||||||
--name-cache File to hold mangled names mappings
|
--name-cache File to hold mangled names mappings
|
||||||
--pure-funcs List of functions that can be safely removed if
|
--pure-funcs List of functions that can be safely removed if
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user