Minifying a javascript library

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Thu Mar 5 16:43:17 UTC 2015


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.

Zbyszek


More information about the devel mailing list