From Fedora Project Wiki
(→jsmin: python-slimit has been retired. Advocate uglifyjs instead.) |
|||
Line 3: | Line 3: | ||
== jsmin == | == jsmin == | ||
The [[Licensing:Main#Bad_Licenses|license used for JSMin is non-free]]. The | The [[Licensing:Main#Bad_Licenses|license used for JSMin is non-free]]. The <code>uglifyjs</code> command, provided by the {{package|uglify-js}} package, may be used instead. For example: | ||
<pre> | |||
uglifyjs your.js -c -m -o your.min.js | |||
</pre> | |||
== Google Closure Compiler == | == Google Closure Compiler == | ||
The Google Closure Compiler is [https://admin.fedoraproject.org/pkgdb/package/closure-compiler/ packaged] for F21+. | The Google Closure Compiler is [https://admin.fedoraproject.org/pkgdb/package/closure-compiler/ packaged] for F21+. |
Revision as of 20:53, 1 October 2016
This page tracks issues related to minification and/or compilation of JavaScript in Fedora.
jsmin
The license used for JSMin is non-free. The uglifyjs
command, provided by the uglify-js
package, may be used instead. For example:
uglifyjs your.js -c -m -o your.min.js
Google Closure Compiler
The Google Closure Compiler is packaged for F21+.