Also, why do you mind me doing that?
I think the problem with this thread is people think I am writing browser code, or code that is going to be shared on GitHub.
I am not.
Also I'm only half joking as I've indicated with the "/s" below.
Well thanks for chiming in about a completely unrelated topic from website javascript. My comment wasn't getting downvoted until your slapfight with oauea blew up.
"It does not depend on a browser, so you can even run it on Node.js."
Seems like the logical solution would be to restrict access to it then, rather than obfuscate it making it harder for yourself to maintain. But hey, you do you.
I also wouldn't obviously edit the obfuscated production code, so it wouldn't really be a problem.
Otherwise, all bets are off.
These applications run on the back end. Some of the API facing VMs have been attacked and so to be honest I've configured them so that if someone did get access to them, they wouldn't find much. Maybe just some API keys I can invalidate. Although I probably won't do it -- an obfuscator like this could be very handy here.