revert: remove unused var

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham 2025-01-01 11:13:02 -08:00
parent 5559ae8d90
commit 607f5fa6fe
No known key found for this signature in database
GPG Key ID: 18974753009D2BFA

View File

@ -22,10 +22,6 @@ import { getStaticResourcesFromPlugins } from "./plugins"
type Dependencies = Record<string, DepGraph<FilePath> | null>
type ContentPresence = {
hasMermaid: boolean
}
type BuildData = {
ctx: BuildCtx
ignored: GlobbyFilterFunction
@ -38,7 +34,6 @@ type BuildData = {
toRemove: Set<FilePath>
lastBuildMs: number
dependencies: Dependencies
contentPresenceChecks: ContentPresence
}
type FileEvent = "add" | "change" | "delete"
@ -134,7 +129,6 @@ async function startServing(
toRemove: new Set<FilePath>(),
trackedAssets: new Set<FilePath>(),
lastBuildMs: 0,
contentPresenceChecks: { hasMermaid: false },
}
const watcher = chokidar.watch(".", {