diff options
author | Anthony Van de Gejuchte <anthonyvdgent@gmail.com> | 2016-10-16 20:57:28 +0200 |
---|---|---|
committer | Richard van Velzen <rvanvelzen1@gmail.com> | 2016-10-23 21:31:03 +0200 |
commit | 8d74f3437352e22b3fd18ce602a4378170ec6598 (patch) | |
tree | bd82ae91555550753bf2b1c34b6a5523365df07c /bin/uglifyjs | |
parent | 266ddd96399afcdee56d9d58b287f912b8728342 (diff) | |
download | tracifyjs-8d74f3437352e22b3fd18ce602a4378170ec6598.tar.gz tracifyjs-8d74f3437352e22b3fd18ce602a4378170ec6598.zip |
Don't filter shebangs when using the 'some' comment filter
Also clarify documentation a bit more about using regexp as filter
Diffstat (limited to 'bin/uglifyjs')
-rwxr-xr-x | bin/uglifyjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/uglifyjs b/bin/uglifyjs index 76438961..ce2e9411 100755 --- a/bin/uglifyjs +++ b/bin/uglifyjs @@ -47,7 +47,7 @@ Use -c with no argument to use the default compression options.") By default this works like Google Closure, keeping JSDoc-style comments that contain \"@license\" or \"@preserve\". \ You can optionally pass one of the following arguments to this flag:\n\ - \"all\" to keep all comments\n\ -- a valid JS regexp (needs to start with a slash) to keep only comments that match.\n\ +- a valid JS RegExp like `/foo/`or `/^!/` to keep only matching comments.\n\ \ Note that currently not *all* comments can be kept when compression is on, \ because of dead code removal or cascading statements into sequences.") |