code: function createConfIndex() {
          requireConf.baseUrl = requireConf.baseUrl.replace( /\/$/, '' ) + '/';
          var descSorter = createDescSorter();
  
          // createPathsIndex
          pathsIndex = kv2List( requireConf.paths );
          pathsIndex.sort( descSorter );
  
          // createMappingIdIndex
          mappingIdIndex = kv2List( requireConf.map );
          mappingIdIndex.sort( descSorter );
          each(
              mappingIdIndex,
              function ( item ) {
                  var key = item.k;
                  item.v = kv2List( item.v );
                  item.v.sort( descSorter );
                  item.reg = key === '*'
                      ? /^/
                      : createPrefixRegexp( key );
              }
          );
  
          // createPackagesIndex
          packagesIndex = [];
          each(
              requireConf.packages,
              function ( packageConf ) {
                  var pkg = packageConf;
                  if ( typeof packageConf === 'string' ) {
                      pkg = {
                          name: packageConf.split('/')[ 0 ],
                          location: packageConf,
                          main: 'main'
                      };
                  }
  
                  pkg.location = pkg.location || pkg.name;
                  pkg.main = (pkg.main || 'main').replace(/\.js$/i, '');
                  packagesIndex.push( pkg );
              }
          );
          packagesIndex.sort( createDescSorter( 'name' ) );
  
          // createUrlArgsIndex
          urlArgsIndex = kv2List( requireConf.urlArgs );
          urlArgsIndex.sort( descSorter );
      }
docs: 创建配置信息内部索引
  
  @ignore