From Fedora Project Wiki
This page tracks issues related to minification and/or compilation of JavaScript in Fedora.
jsmin
The [Licensing:Main#Bad_Licenses|license used for JSMin is non-free]. The python-slimit
package provides an alternative implementation that can typically be used with only a trivial patch.
Google Closure Compiler
The Google Closure Compiler contains bundled libraries and is unsuitable for Fedora. Suggestions for alternatives are welcome.