You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you using the latest verion of NUglify, especially if used through BunderMinifier? Update before raising a bug as your issue is probably already fixed.
I'm using the last version.
Describe the bug
In specific scenario minifier uses the same variable name twice. It leads to an error like "Identifier 'n' has already been declared".
Are you using the latest verion of NUglify, especially if used through BunderMinifier? Update before raising a bug as your issue is probably already fixed.
I'm using the last version.
Describe the bug
In specific scenario minifier uses the same variable name twice. It leads to an error like "Identifier 'n' has already been declared".
To Reproduce
I have code like this:
Code settings:
ConstStatementsMozilla = true
Minified output or stack trace
Minified code:
Formatted version:
As you can see, name
n
used for both variableservice1
andconst1
in the same block.Excepted output code
Another name instead of
n
for variableconst1
.The text was updated successfully, but these errors were encountered: