Hi,

First please note that i am not talking here about minified versions
of javascript files that are shipped in upstream tarballs [0].

Please comment about what could be part of our javascript policy [1].
It might help future javascript maintainers.

A package that distribute minified files for convenience
* must distribute the unminified files
* should name the minified files like "foo.min.js"
* should not minify all files blindly
  (i'm thinking of jquery.ui.datepicker-xx.js)
* if no minifier was available at build time, the minified files must
  symlink to the unminified ones (instead of being removed or empty).
* a node-foo package should not distribute minified files.

Some of these could even become lintian tags.

Jérémy.




[0]
http://lists.debian.org/debian-devel/2012/08/msg00365.html
[1]
http://wiki.debian.org/Javascript/Policy


_______________________________________________
Pkg-javascript-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to