From 6ab64dd7a2a69512706caa32e92014d1c38abe66 Mon Sep 17 00:00:00 2001 From: kzc Date: Tue, 17 Oct 2017 13:33:30 -0400 Subject: [PATCH] reintroduce keep_fnames in mangle option docs --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index f93a5795..b763ba54 100644 --- a/README.md +++ b/README.md @@ -772,6 +772,10 @@ If you're using the `X-SourceMap` header instead, you can just omit `sourceMap.u ## Mangle options +- `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). + - `keep_classnames` (default `false`). Pass `true` to not mangle class names. - `reserved` (default `[]`). Pass an array of identifiers that should be