nl_tokens: Normalize router page information
pl_tokens: function normalizePages ( result , pages , <mask> ) { let entryPageName ; pages . forEach ( ( item , idx ) => { let filter ; if ( typeof item === 'object' ) { let { path , filter : pageFilter } = item ; item = path ; filter = pageFilter ; } let { pageName , componentName } = getPageInfo ( item , prefix ) ; let pageInfo = { component : componentName } ; filter && ( pageInfo . filter = filter ) ; result [ pageName ] = pageInfo ; if ( idx === 0 ) { entryPageName = pageName ; } } ) ; return entryPageName ; }