How to obfuscate or encrypt UXP plugin code for shipping?

Read through this topic

Or try searching for “obfuscate”/“obfuscator”