Fix CLI example for mangle reserved list of names

This commit is contained in:
David Šanda 2017-08-30 11:08:34 +02:00 committed by GitHub
parent eb7adaa6fc
commit 5880e81626

View File

@ -213,7 +213,7 @@ When mangling is enabled but you want to prevent certain names from being
mangled, you can declare those names with `--mangle reserved` — pass a mangled, you can declare those names with `--mangle reserved` — pass a
comma-separated list of names. For example: comma-separated list of names. For example:
uglifyjs ... -m reserved=[$,require,exports] uglifyjs ... -m reserved=['$','require','exports']
to prevent the `require`, `exports` and `$` names from being changed. to prevent the `require`, `exports` and `$` names from being changed.