-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
bug: collapse_vars is broken since 3.3.23 #3247
Comments
The old issue (for reference): #3096 |
Any progress here? :( |
Perhaps related: A fix for a We since switched to using terser (fork of |
No, @ingmarh. It was a completely different issue. |
@thorn0 👌 I see. I mistakenly thought it is an |
fixes mishoo#3247 fixes mishoo#3305 fixes mishoo#3314 fixes mishoo#3327
Bug report or feature request?
Bug report
Uglify version (
uglifyjs -V
)3.3.23...3.4.9
JavaScript input
The
uglifyjs
CLI command executed orminify()
options used.JavaScript output or error produced.
It works fine if I disable
collapse_vars
:BTW, I don't understand why this specific transformation is triggered by
collapse_vars
. As per the docs, whatcollapse_vars
does is 'Collapse single-use non-constant variables', however in this case it seems to do something else.The text was updated successfully, but these errors were encountered: