export const Root = import.meta.resolve("../"); const index = await fetch(Root + "dist/index.html").then(r=>r.text()); export const HTML = index.replace(``, ``); export const Load =async(file:string)=> await fetch(Root + file).then(resp=>resp.text()); export const Save =async(text:string, name:string)=> await Deno.writeTextFile(name, text);