From 2dc0ae279cae87e37c94c42d4ad87107f2a5b5d2 Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Wed, 16 Aug 2023 22:09:11 -0700 Subject: [PATCH] fix import paths --- quartz/cfg.ts | 2 +- quartz/components/types.ts | 2 +- quartz/worker.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/quartz/cfg.ts b/quartz/cfg.ts index 3c9613b71..e3fee360f 100644 --- a/quartz/cfg.ts +++ b/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 diff --git a/quartz/components/types.ts b/quartz/components/types.ts index 803ada91f..fd9574f56 100644 --- a/quartz/components/types.ts +++ b/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" diff --git a/quartz/worker.ts b/quartz/worker.ts index d42bc2516..3bd7ea79f 100644 --- a/quartz/worker.ts +++ b/quartz/worker.ts @@ -2,9 +2,9 @@ import sourceMapSupport from "source-map-support" 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[]) {