const prebuild = require("@marko/prebuild"); const config = require("./marko-config") config.loadPrebuild = false prebuild.run({ config: config, pages: [ // List of pages to prebuild. "./marko/page/story/list.marko", "./marko/page/story/tag-list.marko", "./marko/page/logs/list.marko", "./marko/page/data/channels.marko", "./marko/page/data/characters.marko", "./marko/page/data/changes.marko", "./marko/page/story-content/view.marko", "./marko/page/logs-content/view.marko", ] }).then(lassoPrebuildResult => { const builds = lassoPrebuildResult._buildsByPath for (const key in builds) { if (!builds.hasOwnProperty(key)) { continue } console.log("Built", key) } })