From a7372079817fb1a1e69b2632405d759f9c5e913d Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 16 Mar 2025 21:17:31 +0000
Subject: [PATCH] perf: incremental rebuild (--fastRebuild v2 but default) (#1841)
---
quartz/util/path.ts | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/quartz/util/path.ts b/quartz/util/path.ts
index 32d846b..0681fae 100644
--- a/quartz/util/path.ts
+++ b/quartz/util/path.ts
@@ -260,7 +260,7 @@
return s === suffix || s.endsWith("/" + suffix)
}
-function trimSuffix(s: string, suffix: string): string {
+export function trimSuffix(s: string, suffix: string): string {
if (endsWith(s, suffix)) {
s = s.slice(0, -suffix.length)
}
--
Gitblit v1.10.0