Currently the process creates AMD modules from common.js modules; however, some of the dependencies are repeated.
It would be nice if there's a way to dedupe them.
Here's a library that does something similar:
http://4waisenkinder.de/blog/2014/06/09/flatten-your-dependencies-with-npm-dedupe/