d at domenic.me
Mon Aug 17 22:02:01 UTC 2015
From: es-discuss [mailto:es-discuss-bounces at mozilla.org] On Behalf Of
> There's a planned feature that addresses all these use cases:
> `System.import(moduleSpec, referrer)`.
> It's possible to make minor changes to HostResolveImportedModule and
> then specify `System.import` in terms of that. It could ship in the existing
> compilation-plus-polyfill module system implementations (like
> webpack) immediately. And it'd be fully compatible with the coming JS
> Loader Standard.
I don't understand. If it's in terms of HostResolveImportedModule, and HostResolveImportedModule is not implemented or specified in any way yet, introducing a new thing on top of that does not help the situation at all.
In other words, it seems necessary to make `import "moduleSpec"` work before even thinking about how to make `System.import("moduleSpec")` work.
More information about the es-discuss