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

Specify inputFileName for javascript-obfuscator 0.17.0 #13

Closed
xuanyue202 opened this issue Jun 9, 2018 · 0 comments · Fixed by #18
Closed

Specify inputFileName for javascript-obfuscator 0.17.0 #13

xuanyue202 opened this issue Jun 9, 2018 · 0 comments · Fixed by #18

Comments

@xuanyue202
Copy link

Please see javascript-obfuscator/javascript-obfuscator#276. javascript-obfuscator 0.17.0 support to specify an inputFileName for the original source file.

With Node API (all plugins are using this variant) obfuscator knows nothing about files. It obfuscating strings with source code and you should pass inputFileName value, so obfuscator will know name of the file that contains source code.
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

Successfully merging a pull request may close this issue.

1 participant