From aac7b7e97d32580f6a9bd974b8a9068e5218ab9c Mon Sep 17 00:00:00 2001
From: Anson Yu <ansonyu24@gmail.com>
Date: Sat, 04 Nov 2023 21:20:16 +0000
Subject: [PATCH] docs: Update making plugins.md (#567)

---
 quartz/worker.ts |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/quartz/worker.ts b/quartz/worker.ts
index d97c483..b92bdac 100644
--- a/quartz/worker.ts
+++ b/quartz/worker.ts
@@ -1,10 +1,13 @@
+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(argv: Argv, fps: FilePath[], allSlugs: FullSlug[]) {
   const ctx: BuildCtx = {
     cfg,
     argv,

--
Gitblit v1.10.0