x/wasmbuild/lib/helpers.ts
12345678910111213export async function pathExists(path: string) { try { await Deno.stat(path); return true; } catch (err) { if (err instanceof Deno.errors.NotFound) { return false; } else { throw err; } }}