import "../_dnt.polyfills.js"; import * as dntShim from "../_dnt.shims.js"; import { fromFileUrl } from "../deps/std/path.js" import * as f from "./factories.js" export async function getStatic(path: string) { try { return await dntShim.Deno.readTextFile(fromFileUrl(new URL(path, import.meta.url))) } catch { throw f.notFound() } }