Re: Minifying a javascript library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Il 05/03/2015 17:48, Jonathan Underwood ha scritto:
On 5 March 2015 at 16:43, Zbigniew Jędrzejewski-Szmek <zbyszek@xxxxxxxxx> wrote:
On Thu, Mar 05, 2015 at 03:08:47PM +0000, Jonathan Underwood wrote:
Hi,

I am trying to package up the java script library web-socket-js in
order to unbundle it from xpra (currently under review). The
javascript packaging guidelines[1] require that "If a JavaScript
library typically is shipped as minified or compiled code, it must be
compiled or minified as part of the RPM build process." I am not at
all familiar with java script  - what is the recommended tool for
minifying .js files?
You could try closure-compiler.
As far as I can see that's not packaged for Fedora.
yum install -y closure-compiler
if you have  fedora > 20
should work
regards
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux