-
-
Notifications
You must be signed in to change notification settings - Fork 538
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
feat(mangler): support keep_names
option
#9898
base: 03-19-feat_mangler_collect_symbols_that_is_used_to_set_name_property
Are you sure you want to change the base?
feat(mangler): support keep_names
option
#9898
Conversation
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
445a32b
to
d32678a
Compare
CodSpeed Performance ReportMerging #9898 will not alter performanceComparing Summary
|
let collector = NameSymbolCollector::new(scoping, ast_nodes); | ||
#[derive(Debug, Clone, Copy, Default)] | ||
pub struct MangleOptionsKeepNames { | ||
/// Keep function names so that `Function.prototype.name` is preserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is comment is exactly descriptive. It's not a property of Function.prototype
, but a property of the Function
instance. "name
property" might be a better description.
Ditto Class.prototype.name
comment below.
Sorry to be a pedant!
Same with #9873, but built on top of #9897.
close #9873
close #9711