I'v being trying to figure out how ES.next module path resolution would work. 
Unfortunately proposal is not very clear about it: 
http://wiki.ecmascript.org/doku.php?id=harmony:modules 

Here are some of the questions I have:

1. Will html [base element] have a same effect on modules as it has on script 
tags today ?
2. Are relative paths resolved to a requirer's url, owner html document's urlor 
baseURI ?

If my assumptions are correct this little example is correct:
https://github.com/Gozala/packageless/tree/master/examples/es.next/

[base element]:https://developer.mozilla.org/en/HTML/Element/base

Regards
--
Irakli Gozalishvili
Web: http://www.jeditoolkit.com/

_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to