This, of course, should be a configurable option. Check [javascript-obfuscator](https://github.com/javascript-obfuscator/javascript-obfuscator).