Make sure togetherjsPackage.js really includes all the modules, even lazily loaded modules.