Jacky Zhao
2023-08-17 2dc0ae279cae87e37c94c42d4ad87107f2a5b5d2
fix import paths
3 files modified
8 ■■■■ changed files
quartz/cfg.ts 2 ●●● patch | view | raw | blame | history
quartz/components/types.ts 2 ●●● patch | view | raw | blame | history
quartz/worker.ts 4 ●●●● patch | view | raw | blame | history
quartz/cfg.ts
@@ -1,6 +1,6 @@
import { QuartzComponent } from "./components/types"
import { PluginTypes } from "./plugins/types"
import { Theme } from "./theme"
import { Theme } from "./util/theme"
export type Analytics =
  | null
quartz/components/types.ts
@@ -1,5 +1,5 @@
import { ComponentType, JSX } from "preact"
import { StaticResources } from "../resources"
import { StaticResources } from "../util/resources"
import { QuartzPluginData } from "../plugins/vfile"
import { GlobalConfiguration } from "../cfg"
import { Node } from "hast"
quartz/worker.ts
@@ -2,9 +2,9 @@
sourceMapSupport.install(options)
import cfg from "../quartz.config"
import { Argv, BuildCtx } from "./util/ctx"
import { FilePath, ServerSlug } from "./path"
import { FilePath, ServerSlug } from "./util/path"
import { createFileParser, createProcessor } from "./processors/parse"
import { options } from "./sourcemap"
import { options } from "./util/sourcemap"
// only called from worker thread
export async function parseFiles(argv: Argv, fps: FilePath[], allSlugs: ServerSlug[]) {