Generic Bundling

Brendan Eich brendan at mozilla.com
Thu Oct 10 18:53:24 PDT 2013


Jeremy Darling wrote:
> I understand g(un)zip is the de-facto standard, I would just hate to 
> see such a small detail overlooked at the end of the day when a one 
> liner pretty much covers it.
>
> Oh, and I'll 2nd the "way nicer than any AMD solution".  This also 
> keeps readability in mind along with forcing declaration instead of 
> allowing you to loose track of dependencies accidentally.  I prefer to 
> have page bloat in dev form and compile down for production use only 
> if necessary.
>
> Course, that's two cents from a guy who usually hides in the corners 
> on this type of discussion.
>
>
> On Thu, Oct 10, 2013 at 8:10 PM, Andrea Giammarchi 
> <andrea.giammarchi at gmail.com <mailto:andrea.giammarchi at gmail.com>> wrote:
>
>     You are confining the problem in HTTP only scenarios while the
>     solution provided by
>
>     <script src="lib/main.js" ref=”assets.zip”></script>
>

No, you're right -- agree with you and Andrea, this is sweet.

HTML nerd nit: is "ref" the right name? I thought it was used as an 
attribute name somewhere in HTML or nearby, but I can't find it. Cc'ing 
Anne.

/be


More information about the es-discuss mailing list