I am in the process of converting ES7 code to ES5 using a combination of Webpack, Babel, and UglifyJS. My goal is to make the code as obfuscated as possible.
Babel employs a key/value object for classes, which retains the function names:
https://i.sstatic.net/5bj92.png
Is there a tool available that can obfuscate ES6 class names and methods?
I am specifically searching for this type of transformation:
ES6 -> Obfuscated ES6 (particularly classes)
The code I am working with is bundled into a single file, with the classes not being used externally beyond the bundle.
The current tools I am familiar with are:
- Babili (which does not perform this task).
- UglifyJS (requires input in ES5).