Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 2 typos in README for keep_fnames option #1025

Merged
merged 1 commit into from Jul 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -569,7 +569,7 @@ try {
of class names. Pass a regular expression to only keep class names matching that regex.

- `keep_fnames` (default: `false`) - pass `true` to prevent discarding or mangling
of function names. Pass a regular expression to only keep class names matching that regex.
of function names. Pass a regular expression to only keep function names matching that regex.
Useful for code relying on `Function.prototype.name`. If the top level minify option
`keep_classnames` is `undefined` it will be overridden with the value of the top level
minify option `keep_fnames`.
Expand Down Expand Up @@ -885,7 +885,7 @@ If you happen to need the source map as a raw object, set `sourceMap.asObject` t
See also: the `keep_classnames` [compress option](#compress-options).

- `keep_fnames` (default `false`) -- Pass `true` to not mangle function names.
Pass a regular expression to only keep class names matching that regex.
Pass a regular expression to only keep function names matching that regex.
Useful for code relying on `Function.prototype.name`. See also: the `keep_fnames`
[compress option](#compress-options).

Expand Down