From 76c092dcf20959bc52fcb13b28cee50cd4217e40 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 20 Jul 2023 04:59:48 +0000
Subject: [PATCH] add custom.scss
---
quartz/worker.ts | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/quartz/worker.ts b/quartz/worker.ts
index e2c278f..9c81ed0 100644
--- a/quartz/worker.ts
+++ b/quartz/worker.ts
@@ -1,11 +1,12 @@
import config from "../quartz.config"
+import { FilePath, ServerSlug } from "./path"
import { createFileParser, createProcessor } from "./processors/parse"
const transformers = config.plugins.transformers
const processor = createProcessor(transformers)
// only called from worker thread
-export async function parseFiles(baseDir: string, fps: string[], verbose: boolean) {
- const parse = createFileParser(baseDir, fps, verbose)
+export async function parseFiles(baseDir: string, fps: FilePath[], allSlugs: ServerSlug[], verbose: boolean) {
+ const parse = createFileParser(transformers, baseDir, fps, allSlugs, verbose)
return parse(processor)
}
--
Gitblit v1.10.0