javascript-obfuscator / gulp-javascript-obfuscator

Gulp plugin for javascript-obfuscator package.
100 stars 38 forks source link

Specify inputFileName for javascript-obfuscator 0.17.0 #13

Closed xuanyue202 closed 5 years ago

xuanyue202 commented 6 years ago

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.