reintroduce keep_fnames in mangle option docs

This commit is contained in:
kzc 2017-10-17 13:33:30 -04:00 committed by GitHub
parent 05ca844443
commit 6ab64dd7a2

View File

@ -772,6 +772,10 @@ If you're using the `X-SourceMap` header instead, you can just omit `sourceMap.u
## Mangle options ## 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. - `keep_classnames` (default `false`). Pass `true` to not mangle class names.
- `reserved` (default `[]`). Pass an array of identifiers that should be - `reserved` (default `[]`). Pass an array of identifiers that should be