Minifying a javascript library

gil puntogil at
Thu Mar 5 17:09:56 UTC 2015

Il 05/03/2015 17:48, Jonathan Underwood ha scritto:
> On 5 March 2015 at 16:43, Zbigniew Jędrzejewski-Szmek <zbyszek at> 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

More information about the devel mailing list