nl_tokens: ------------------------------------------------------------- Module . -------------------------------------------------------------
pl_tokens: async function generate ( entryPoint ) { console . <mask> ( ` ${ chalk . green ( entryPoint ) } ` ) cleanBuildFolder ( ) const pages = findData ( entryPoint ) if ( countDataFiles ( pages ) === 0 ) { console . log ( '' ) console . warn ( 'No data files found!' ) return } if ( ! pages . company ) { console . log ( '' ) console . error ( 'No company data file found!' ) return } await generateHTML ( pages ) await exportAdditionalAssets ( ) console . log ( '' ) console . log ( 'Done! 👌') if ( config . commands . build . watch ) { const port = config . commands . build . port const address = chalk . green ( ` ${ port } ` ) showHeader ( ` ${ address } ` ) startWatcher ( entryPoint , ( ) => generateHTML ( findData ( entryPoint ) ) ) } }