Minifying a javascript library

Jonathan Underwood jonathan.underwood at gmail.com
Thu Mar 5 16:48:40 UTC 2015


On 5 March 2015 at 16:43, Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl> 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.


More information about the devel mailing list