code: function buildDep(file, pkg){
    var files = [];
  
    if (file.processed || file.package != pkg)
      return files;
  
    file.processed = true;
  
    for (var i = 0, depFile; depFile = file.deps[i++];)
      files.push.apply(files, buildDep(depFile, file.package));
  
    files.push(file);
  
    return files;
  }
docs: make require file list