deno compile --include
John Doe Jane Smith Alice Jones
if (import.meta.main) { const names = Deno.readTextFileSync(import.meta.dirname + "/names.tsv"); console.debug(names); }
deno compile cli.ts --include names.tsv
error: Uncaught (in promise) NotFound: path not found: readfile '/tmp/deno-compile-deno-embed/names.tsv' const names = Deno.readTextFileSync(import.meta.dirname + "/names.tsv"); ^ at Object.readTextFileSync (ext:deno_fs/30_fs.js:771:10) at file:///tmp/deno-compile-deno-embed/cli.ts:2:22