feat: add built-in caching via inputs (#89)

This commit is contained in:
Christian Svensson
2025-05-12 18:53:44 +02:00
committed by GitHub
parent a1496dd8d9
commit fd6b0ad149
14 changed files with 63237 additions and 19455 deletions

View File

@@ -9,9 +9,16 @@ await new Deno.Command(Deno.execPath(), {
stderr: "inherit",
}).output();
try {
Deno.removeSync(join(import.meta.dirname!, "../dist"), { recursive: true });
} catch {
// ignore
}
await build({
entry: {
main: "src/main.ts",
post: "src/post.ts",
},
target: "node20.19",
platform: "node",