Quoting Daniel Kahn Gillmor (2013-07-30 22:39:07)
> On 07/30/2013 03:36 PM, Jonas Smedegaard wrote:
> > Quoting Thomas Bechtold (2013-07-30 19:47:10)
> >> forgot to describe the attached debdiff. The patch adds a 
> >> Build-Depends to yui-compressor and generates jquery.min.js. That's 
> >> it.
> > 
> > I recommend against using a different and inferior compressor than 
> > the one well tested upstream: uglify.
> 
> I think you're suggesting that this package should use the uglify 
> javascript minifier, rather than the yui minifier.
> 
> Do you mean node-uglify or ruby-uglifier or something else?

I mean node-uglify.  I believe that's the tool the jquery project uses 
themselves for their minification.

I elaborated more on this at bug#679665.


> Does the debian javascript packaging team want to settle on a "best 
> practices" minifier and document it someplace?

Good idea!

In my opinion we should start simple and recommend use of node-uglify in 
our Policy wiki page.

(then later we can consider introducing a package to auto-(re-)compress 
allowing local admin to deviate from a default compressor)

What do others in the team think?


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to