1
0
mirror of https://gitlab.com/MisterBiggs/brain-quartz.git synced 2025-07-22 14:21:24 +00:00

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

This commit is contained in:
Jacky Zhao
2025-03-13 10:41:50 -07:00
parent d9159e0ac9
commit 80c3196fee
4 changed files with 29 additions and 6 deletions

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)}`)
}
}
}