You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
691 B
27 lines
691 B
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/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)
|
|
}
|
|
})
|