cincheo / jsweet

A Java to JavaScript transpiler.
http://www.jsweet.org
Other
1.46k stars 158 forks source link

Feature request: javascript obfuscation #298

Open Displee opened 7 years ago

Displee commented 7 years ago

I really would like to see javascript obfuscation implemented in jsweet. This feature would be the cherry on the cake.

renaudpawlak commented 7 years ago

Sure, that would be cool and relatively easy to implement with the current API (for example, see that adapter that renames all private fields to add a "__" prefix).

But what would be the plus compared to compiling the output JavaScript code with Closure compiler or YUICompressor?