From d27c29273640b2d67a7af1fa9c6410077c7cbe9f Mon Sep 17 00:00:00 2001
From: Andrew <80933354+ndrooo@users.noreply.github.com>
Date: Tue, 13 Aug 2024 03:06:19 +0000
Subject: [PATCH] feat: Mark the external link icon as aria-hidden (#1346)
---
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