Because it's broken for my usecase, and I need to do something slightly different on the webpage
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.