aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDavid Šanda <sanda.david@gmail.com>2017-08-30 18:55:32 +0200
committerAlex Lam S.L <alexlamsl@gmail.com>2017-08-31 00:55:32 +0800
commit71d52f147dedfb49bf45bccb46613cd1f46ec286 (patch)
treefca207c32517dff773c4483190714f2aaef603cc /README.md
parenteb7adaa6fc52cca3766b876745895eb2047ee323 (diff)
downloadtracifyjs-71d52f147dedfb49bf45bccb46613cd1f46ec286.tar.gz
tracifyjs-71d52f147dedfb49bf45bccb46613cd1f46ec286.zip
Fix CLI example for mangle reserved list of names (#2294)
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 15d8d7c7..6bfede08 100644
--- a/README.md
+++ b/README.md
@@ -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.