Generates AMD build using Grunt
Merge with upstream