Expose module map to external sources

Allows generation of module maps via API and grunt tasks.