I have own module system for internal WEB application - major concept is that application is dynamic, i.e. modules can be added/removed at run-time. Because of this reason I cannot use bundling and separate modules are loaded individually. Requesting one single module can cause loading of 100 other as dependencies - current implementation with own loader makes this asynchronously and renders nice progress bar so that users on slow connection have idea how long they need to wait.
Currently I'm evaluating alternative to switch to ES6 syntax for modules as well as switch to some of ES6-compatible module loader existing on github.
So the question is - are there ES6-compatible module loaders with API that provides events saying something like:
- I started loading resources
- I've loaded N of M resources
- I've done with loading of all requested resources
This has to run at least in following browsers: Chrome (latest), Firefox (latest), IE11.