Jacky Zhao
2024-09-28 8889ab63ebf579d7f134d4e83ab21533ad5bda87
quartz/worker.ts
@@ -7,8 +7,14 @@
import { options } from "./util/sourcemap"
// only called from worker thread
export async function parseFiles(argv: Argv, fps: FilePath[], allSlugs: FullSlug[]) {
export async function parseFiles(
  buildId: string,
  argv: Argv,
  fps: FilePath[],
  allSlugs: FullSlug[],
) {
  const ctx: BuildCtx = {
    buildId,
    cfg,
    argv,
    allSlugs,