Added AMD module loading to prepareExports
Merge pull request #1 from bringking/master

Added AMD module loading to prepareExports