Modules: execute deps, modify, execute (was Re: ES Modules: suggestions for improvement)

David Herman dherman at mozilla.com
Wed Jun 27 12:01:19 PDT 2012


On Jun 27, 2012, at 11:40 AM, Jussi Kalliokoski wrote:

> This brings up an interesting point about the modules, that being lazy loading. One appealing reason to use a module loader instead of just concatenating the scripts or using multiple script tags is that you can do feature detection and load polyfills for things you need instead of just forcing the client to download all the polyfills, regardless of whether they need them or not. Does the modules proposal attempt to solve this in any way?

System.load gives you dynamic loading.

Dave



More information about the es-discuss mailing list