Fix CLI example for mangle reserved list of names (#2294)

This commit is contained in:
David Šanda
2017-08-30 18:55:32 +02:00
committed by Alex Lam S.L
parent eb7adaa6fc
commit 71d52f147d

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
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.