-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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(es/minifier): Don't inline into arrow heads #7099
Conversation
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.
swc-bump:
- swc_ecma_usage_analyzer
@@ -0,0 +1,539 @@ | |||
(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([ |
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 tried my best to reduce this, but these seem quite close to the minimal required code.
place: o = "top", | ||
offset: l = 10, | ||
strategy: r = "absolute", | ||
middlewares: i = [oe(Number(l)), ee(), ne({ |
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.
The problem was that, oe
was inlined into this arrow head and the variables created from the injector is appended to the arrow body.
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.
Automated review comment generated by auto-rebase script
Description:
t#126
is appended to the function body, but it's wrong.Related issue: