-
-
Notifications
You must be signed in to change notification settings - Fork 466
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(minifier): collapse variables when join_vars
option is true
#6226
fix(minifier): collapse variables when join_vars
option is true
#6226
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Your org has enabled the Graphite merge queue for merging into mainAdd the label “0-merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
CodSpeed Performance ReportMerging #6226 will not alter performanceComparing Summary
|
2b9838c
to
ea896ec
Compare
join_vars
option is true
I don't know the minifier at all, so I think best leave Boshen to review this. |
It appears that the test262 breakage is caused by the |
closed by #6464 |
The variable collapse AST pass was only collapsing declarations when
CompressOptions::join_vars
wastrue
, and skipping whenfalse
. This does not follow the behavior documented for this option. This PR fixes this.