From fc7e33453fa908f9c4ef28d03969866a7f98f733 Mon Sep 17 00:00:00 2001 From: kzc Date: Wed, 28 Jun 2017 11:51:58 -0400 Subject: [PATCH] [ES6] document mangle option `keep_classnames` (#2175) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 4bcc1afa..11a04fd4 100644 --- a/README.md +++ b/README.md @@ -701,6 +701,8 @@ If you're using the `X-SourceMap` header instead, you can just omit `sourceMap.u - `toplevel` (default `false`). Pass `true` to mangle names declared in the top level scope. +- `keep_classnames` (default `false`). Pass `true` to not mangle class names. + - `keep_fnames` (default `false`). Pass `true` to not mangle function names. Useful for code relying on `Function.prototype.name`. See also: the `keep_fnames` [compress option](#compress-options).