docs: function getReqOptions(options) {
      var reqConf = options.reqConfig;
      var pp = _processPathsAndPackages(reqConf.paths, reqConf.packages, options);
  
      var options = {
          appDir: options.appDir,
          baseUrl: options.baseUrl,
          dir: options.dir,
          //    modules: _.map(options.entryPack, _entryToReqMod),
          modules: options.entryPack,
          paths: pp.paths,
          shim: reqConf.shim || {},
          packages: reqConf.packages || [],
          optimize: "none",
          onBuildRead: function (moduleName, path, contents) {
              if (moduleName.indexOf('require-conf') > -1) {
                  // 将调试状态改成发布状态
                  return contents.replace(/debug\s*\:\s*(true|false)/g, 'debug: false, optimized: true');
              }
              return contents;
          },
          preserveLicenseComments: false,
          removeCombined: options.removeCombined,
          fileExclusionRegExp: /^\./,
          writeBuildTxt: options.writeBuildTxt || false
      };
  
      return options;
  }