title: requirejs: shorten dependency list
body: <p>I develop a web application with require.js.<br>
  As the whole thing grows and grows, some dependency lists of certain amd modules grow also
  and get very complex (reminds me a bit of the large amount of script tags in the index.html page before I started to use require.js).<br>
  So I started to put the core modules - those I always need - in new amd module:  </p>
  
  <pre><code>define(["config", "eventObj", "registry", "log", "userObj"], 
    function (conf, event, reg, log, user) {
      var core = {
        conf: conf,
        event: event,
        reg: reg,
        log: log,
        user: user
      };
      return core;
  });
  </code></pre>
  
  <p>But since this change, weird things happen, for example at one time this "core" is there, but later, in another module, where it is also referenced as dependency, it is undefined.<br>
  Is there a better way to shorten the dependency list, to group various modules without having to put those things in one file?</p>