From 0b17d11786e3f7132e635c1e5bd14bf481736fc5 Mon Sep 17 00:00:00 2001 From: Karim H Date: Fri, 21 Mar 2025 19:33:10 -0400 Subject: [PATCH] refactor(path): remove unused URL import for isomorphic compatibility --- quartz/util/path.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/quartz/util/path.ts b/quartz/util/path.ts index e21379998..b95770159 100644 --- a/quartz/util/path.ts +++ b/quartz/util/path.ts @@ -1,7 +1,6 @@ import { slug as slugAnchor } from "github-slugger" import type { Element as HastElement } from "hast" import { clone } from "./clone" -import { URL } from "url" // this file must be isomorphic so it can't use node libs (e.g. path)