Obfuscate it, minify it and integrate it with every function essential to the normal operation of the website.
If the owner deletes that fade function, certain core functions will fail to execute. If the owner changes it without deleting, it some global variables don't get initialized.
Typically the tools are integrated in to your build pipeline. Everything produced for every client goes through the build pipeline. So, you just do the additional work once - and it's not much.
39
u/KinOfMany Feb 07 '19
Obfuscate it, minify it and integrate it with every function essential to the normal operation of the website.
If the owner deletes that fade function, certain core functions will fail to execute. If the owner changes it without deleting, it some global variables don't get initialized.
Make it debugging hell.