Re:Adding JavaScript modules to the web platform
by colinramsay on Thursday April 14, 2016 @07:18AM
(#11495670)
You'll be able to do that with System.import, kind of. It's async, and it returns a promise, which is sensible but it makes code a bit more complicated.
The ECMAScript wiki appears to be down but this polyfill has a good overview:
The ECMAScript wiki appears to be down but this polyfill has a good overview:
https://github.com/ModuleLoader/es6-module-loader