Fix CLI example for mangle reserved list of names (#2294)
This commit is contained in:
committed by
Alex Lam S.L
parent
eb7adaa6fc
commit
71d52f147d
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user