Shim loader for writing libraries in AMD format, optimizing the final build with r.js, and then outputting a UMD package.