Modules and dependencies known before the load

Kevin Smith zenparsing at
Wed Aug 13 16:09:05 PDT 2014

> Ideally I think we should adjust the ES6 module system to support loading
> and compiling code (though not necessarily executing it) for dependencies
> at or around the "fetch" hook.

It seems like it should be possible, in principle, to add dependencies to a
load record at any time prior the instantiate hook resolving.  After all,
the effect of the instantiate hook is to make the dependency list
completely arbitrary.

Would that solve the issue from your point of view?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list