[Pkg-javascript-devel] JavaScript policy clarifications?

Daniel Pocock daniel at pocock.com.au
Mon Jun 16 09:45:25 UTC 2014



Looking at

https://wiki.debian.org/Javascript/Policy

there are some ambiguities in point 4 (*should* ship a /minified/
version for each script, generated at build time (use /uglifyjs/ to this
purpose) )


- a package should /only/ ship a minified version of a script, or it
should ship both minified and unminified or it is at the maintainers
discretion?

- naming convention for minified scripts - a script minified by the
packaging process should have a .min.js extension?  Should all
maintainers use the same extension for this purpose?  Should there be a
symlink foo.js -> foo.min.js as in some packages?

   (maybe non-minified js files could go in a libjs-foo-dev package?)

- the reference to uglifyjs could also mention closure-compiler




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20140616/5e8d0330/attachment.html>


More information about the Pkg-javascript-devel mailing list