feat(og): add reading time to default, improve logging

This commit is contained in:
Jacky Zhao committed 2025-03-13 10:41:50 -07:00
1 parent d9159e0ac9
commit 80c3196fee
4 files changed
+29 -6

No files matched your search

+2 -2
View File
@@ -26,7 +26,7 @@ export async function emitContent(ctx: BuildCtx, content: ProcessedContent[]) {
if (ctx.argv.verbose) {
console.log(`[emit:${emitter.name}] ${file}`)
} else {
log.updateText(`Emitting output files: ${chalk.gray(file)}`)
log.updateText(`Emitting output files: ${emitter.name} -> ${chalk.gray(file)}`)
}
}
} else {
@@ -36,7 +36,7 @@ export async function emitContent(ctx: BuildCtx, content: ProcessedContent[]) {
if (ctx.argv.verbose) {
console.log(`[emit:${emitter.name}] ${file}`)
} else {
log.updateText(`Emitting output files: ${chalk.gray(file)}`)
log.updateText(`Emitting output files: ${emitter.name} -> ${chalk.gray(file)}`)
}
}
}