[Pkg-javascript-devel] documentation about distributing minified versions of files

Jérémy Lal kapouer at melix.org
Thu May 9 19:41:30 UTC 2013


On 09/05/2013 21:09, Daniel Kahn Gillmor wrote:
> On 05/09/2013 02:11 PM, David Prévot wrote:
>> Hi,
>>
>> Le 09/05/2013 13:40, Daniel Kahn Gillmor a écrit :
>>> why is this painful?  During development, you install libjs-jquery
>>> alongside whatever other development tools, libraries, frameworks your
>>> user project depends on.  your user project links to the
>>> /usr/share/javascript/jquery directory, whose contents are provided by
>>> libjs-jquery.
>>
>> I fail to understand the benefit of the split (as in “what real life
>> problem is this supposed to solve?”).
> 
> It makes it possible, at a system level, to switch any particular piece
> of javascript into (or out of) debug mode without needing to make any
> changes to the rest of your webapp stack.  looked at another way, it
> makes it possible to deploy the same code with minified javascript even
> though you develop with debuggable non-minified js.  Is this useful?  it
> seems like it might be to me, but i could be convinced otherwise.

If the server hosts several webapps, it locks webapps in production or
development mode *all at once*, and there should be a way to not do it
all at once.

Jérémy.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20130509/157df222/attachment.pgp>


More information about the Pkg-javascript-devel mailing list