Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Feature request: specify mangled name for output #5815

Closed
lauriro opened this issue Nov 13, 2023 · 1 comment
Closed

Feature request: specify mangled name for output #5815

lauriro opened this issue Nov 13, 2023 · 1 comment

Comments

@lauriro
Copy link

lauriro commented Nov 13, 2023

Although silly request, someone may desire to specify a mangled variable name, like in Dean Edwards original packer output eval(function(p,a,c,k,e,r){.

Comment annotation seems to be the best place for that:

(function(one /*#mangleTo:H*/, two /*#mangleTo:i*/) { /*..*/ })(1, 2);
// results (function(H,i){ /*..*/ )(1,2);
lauriro added a commit to lauriro/UglifyJS that referenced this issue Nov 13, 2023
lauriro added a commit to lauriro/UglifyJS that referenced this issue Nov 13, 2023
@alexlamsl
Copy link
Collaborator

Closing as duplicate of #554

@alexlamsl alexlamsl closed this as not planned Won't fix, can't repro, duplicate, stale Mar 2, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants