Skip to content

Commit 4927244

Browse files
committed
Add build fail logging of current page
1 parent 3121c3a commit 4927244

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.vitepress/config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export default defineConfig({
5757
// other locale specific properties...
5858
},
5959
},
60+
//Logs every page loaded on build. Good way to catch errors not caught by other things.
6061
async transformPageData(pageData, { siteConfig }) {
6162
console.log(pageData.filePath);
6263
},

0 commit comments

Comments
 (0)