component/builder.js — pull request #89 by stagas (2013-04-26 09:28:48+00:00)
Title: root with main breaking runtime

If you have a dependency with a different "main" than index.js with the recent root patch it was creating an invalid alias. This fixes it though I'm not sure if it breaks another case. The tests seem to pass though and my app is working as expected again with the root aliases in place.