Open MarcelVersteeg opened 1 month ago
As a side note: configuration properties that would rename all global variables and methods and properties of a class would also be great
Thanks for the clear bug report
PRs welcome, the issue will probably lie in one of the Analyzers
Describe the bug Consider JavaScript like this:
Then I configure the Uglifier as follows (irrelevant options left out for brevity):
Now, the resulting uglified JavaScript will become (indentation kept for readability):
This code does not run correctly, as the actual method and property in the class are not renamed, but the locations where they are called are renamed.
To Reproduce See the code example
Minified output or stack trace See the description
Excepted output code