From 965f9e123ca8f6bd5342bf9fe8daaa3e3a58ee2e Mon Sep 17 00:00:00 2001
From: Aaron Pham <contact@aarnphm.xyz>
Date: Mon, 23 Dec 2024 20:00:26 +0000
Subject: [PATCH] chore(frontmatter): dealias created/modified/updated time (#1664)
---
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