Generic Bundling

Jorge Chamorro jorge at jorgechamorro.com
Fri Oct 11 01:08:26 PDT 2013


On 11/10/2013, at 03:53, Brendan Eich wrote:
> 
>> 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.

Are main.js and assets.zip two separate files, or is main.js expected to come from into assets.zip? I think the latter would be best because it would guarantee that the assets are there by the time main.js runs, as if they were local files, ready to be require()d synchronously.

-- 
( Jorge )();


More information about the es-discuss mailing list