Jacky Zhao
2024-06-18 541b470cfc85c342ba8b7548d58d668b49d8dd85
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { QuartzConfig } from "../cfg"
import { FullSlug } from "./path"
 
export interface Argv {
  directory: string
  verbose: boolean
  output: string
  serve: boolean
  fastRebuild: boolean
  port: number
  wsPort: number
  remoteDevHost?: string
  concurrency?: number
}
 
export interface BuildCtx {
  argv: Argv
  cfg: QuartzConfig
  allSlugs: FullSlug[]
}