import WebsiteGenerator from "../website" ; import Modifiers from "../modifiers" ; param { Output } output param { Output } function onPage ( output , page ) { const options = output . getOptions ( ) ; return ( Modifiers . modifyHTML ( page , [ Modifiers . inlineAssets ( options . get ( "root" ) , page . getFile ( ) . getPath ( ) ) ] ) . then ( ( resultPage ) => { return WebsiteGenerator . onPage ( output , resultPage ) ; } ) ) ; } export default onPage ;