whole_func_string: 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
      };
  }
func_code_string: 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
      };
  }
func_documentation_string: Normalize app route info
  
  @inner
  @param {Array.<string>} pages the page path list
  @param {Array.<Object>=} subPackages the sub packages, optional
  @return {Object}