From 5eec1e98e6f6b16d4a29cdbbc69c573fb06e538d Mon Sep 17 00:00:00 2001
From: Emile Bangma <github@emilebangma.com>
Date: Wed, 25 Sep 2024 22:15:07 +0000
Subject: [PATCH] fix(layout): grid triage with backlinks (#1442)
---
quartz/worker.ts | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/quartz/worker.ts b/quartz/worker.ts
index d97c483..a209df9 100644
--- a/quartz/worker.ts
+++ b/quartz/worker.ts
@@ -1,11 +1,20 @@
+import sourceMapSupport from "source-map-support"
+sourceMapSupport.install(options)
import cfg from "../quartz.config"
-import { Argv, BuildCtx } from "./ctx"
-import { FilePath, ServerSlug } from "./path"
+import { Argv, BuildCtx } from "./util/ctx"
+import { FilePath, FullSlug } from "./util/path"
import { createFileParser, createProcessor } from "./processors/parse"
+import { options } from "./util/sourcemap"
// only called from worker thread
-export async function parseFiles(argv: Argv, fps: FilePath[], allSlugs: ServerSlug[]) {
+export async function parseFiles(
+ buildId: string,
+ argv: Argv,
+ fps: FilePath[],
+ allSlugs: FullSlug[],
+) {
const ctx: BuildCtx = {
+ buildId,
cfg,
argv,
allSlugs,
--
Gitblit v1.10.0