2025 update, deno compile supports --include which lets you include arbitrary files into the bundle and access them via Deno.readTextFile(import.mega.dirname + "/myfile.html);