Skip to content
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

Add identifiers prefix generation #29

Open
sanex3339 opened this issue Mar 5, 2020 · 0 comments
Open

Add identifiers prefix generation #29

sanex3339 opened this issue Mar 5, 2020 · 0 comments

Comments

@sanex3339
Copy link
Member

sanex3339 commented Mar 5, 2020

Hi.
javascript-obfuscator/javascript-obfuscator#568

It would be nice if you add a unique identifier names prefix generation for each obfuscated file.
The prefix should be as aX, where X - number or counter of the current obfuscated file (0, 1, 2, ...)

The prefix can be overridden by the user prefix.

I just implemented this logic for webpack-obfuscator, you can see example:
javascript-obfuscator/webpack-obfuscator@2b227b2#diff-ed009b6b86b017532ef0489c77de5100

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant