'How to Minify/Un-minify and Obfuscate Custom build Jira plugin UI code?

We are building a custom build Jira Plugin where we have JavaScript files, velocity template files and css files. We have to Minify and Obfuscate the UI code to reduce load time, to improve site speed and accessibility.

Can anyone please suggest us how to minify and obfuscate the UI code in our custom build Jira plugin?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source