import { createDependencyWriter } from "https://deno.land/x/bob@v2.8.1/core/content-dependencies.ts";
Create proxy for recording page dependencies. Last return is a function that should be called in order to commit (save) the dependencies to the cache.
type
() => { getPages: PagesGetter; write: (path: string) => Promise<void>; getDependants: (path: string) => Promise<string[]>; }