nl_tokens: addProcessEntryPages
pl_tokens: function addProcessEntryPages ( pages , pageFileMap , allPageFiles , fileDirname , buildManager ) { let { <mask> : allFiles , componentExtname , logger , appType , root } = buildManager ; pages . forEach ( p => { let pageFileNotExt = path . resolve ( fileDirname , p ) ; let pageFile = allFiles . getByFullPath ( ` ${ pageFileNotExt } ${ componentExtname } ` ) ; // add sfc first if ( pageFile ) { pageFileMap [ p ] = pageFile ; pageFile . isPageComponent = true ; buildManager . addNeedBuildFile ( pageFile ) ; allPageFiles . push ( pageFile ) ; return ; } // not support quick if ( appType === 'quick' ) { logger . error ( ` pa geFileNotExt}. $ co mponentExtname}」 . return ; } // add native file let resultFilesInfo = getPageOriginFileExtnames ( pageFileNotExt , buildManager ) ; Object . keys ( resultFilesInfo . filesMap || { } ) . forEach ( ext => { let originFile = resultFilesInfo . filesMap [ ext ] ; buildManager . addNeedBuildFile ( originFile ) ; allPageFiles . push ( originFile ) ; } ) ; let missingMustFileExtnames = resultFilesInfo . missingMustFileExtnames ; if ( missingMustFileExtnames . length ) { let pageFile = getRelative ( pageFileNotExt , root ) ; missingMustFileExtnames . forEach ( ext => { logger . error ( ` pa geFile}. $ ex t}」 . } ) ; } } ) ; }