[Pkg-javascript-devel] What JS compressor should I use?

Jérémy Lal kapouer at melix.org
Sun Aug 17 08:09:49 UTC 2014


Le dimanche 17 août 2014 à 15:29 +0800, Thomas Goirand a écrit :
> Hi,
> 
> To make sure we're using DFSG stuff, I'm compressing the JS scripts
> myself, instead of using pre-minified JS from upstream. Nothing fancy,
> I'm sure that's best practice everyone uses here.
> 
> However, which compressor should I use? I need my packages to build in
> Wheezy, which is why I currently use yui-compressor (which is available
> there as well). Though there may be other (better) alternatives which I
> didn't spot. I perfectly know that the resulting JS file (after
> compressing with yui-compressor) isn't the best possible result.
> 
> Note that using Node isn't one of the options I'm considering, because
> it's simply too big (though yui-compressor seems to depend on on java,
> which isn't great either). Anything in wheezy-backport would be
> acceptable too.

could you explain what "too big" means, especially when compared to java
which, by all means, is bigger ?

Jérémy




More information about the Pkg-javascript-devel mailing list