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

(cherry picked from commit fd6b0ad149)
This commit is contained in:
Christian Svensson authored and Leo Kettmeir committed 2025-05-14 18:58:13 +02:00
1 parent db3496c46a
commit aa0fea114b
14 files changed
+63237 -19455

No files matched your search

+7
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",