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
renames arrow function declaration despite keep_fnames: true
#1522
Comments
The circumstances where We can for instance suppress the analysis of variable definitions that hold anonymous functions here. This approach is simple but it may have drawbacks (IE we can't inline functions into callsites now). |
Related: #1484 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the source, the function is named
foo
and inspecting its.name
givesfoo
.However terser mistakenly renames the function to
bar
which can be observed with.name
.In the screenshot I run the before minified and after minified and you can see in the console what
console.log()
ing the.name
gives.the source is
The text was updated successfully, but these errors were encountered: