2014-08-17 10:09 GMT+02:00 Jérémy Lal <[email protected]>: > 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?
https://wiki.debian.org/Javascript/Policy currently advises to use uglifyjs for this purpose +Emilien >> 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 > > > _______________________________________________ > Pkg-javascript-devel mailing list > [email protected] > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel _______________________________________________ Pkg-javascript-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel
