Very nice! It reminds me of these two loader experiments: https://curiosity-driven.org/amd-loader-with-promises https://curiosity-driven.org/minimal-loader

But for production builds I highly recommend Almond: https://github.com/jrburke/almond

There's also https://github.com/systemjs/systemjs which aims to implement the ES6 Module Loader.