code: function normalizeRouteInfo(pages, subPackages) {
      let result = {};
      let entryPageName = normalizePages(result, pages);
  
      subPackages && subPackages.forEach(item => {
          let {root, pages: subPages} = item;
          normalizePages(result, subPages, root);
      });
  
      return {
          entry: entryPageName,
          pages: result
      };
  }
docs: Normalize app route info
  
  @inner
  @param {Array.<string>} pages the page path list
  @param {Array.<Object>=} subPackages the sub packages, optional
  @return {Object}