From e87d2ceb2cb2da2dff67c4283c1428672ba4984d Mon Sep 17 00:00:00 2001 From: Steven Vandevelde Date: Sun, 4 May 2025 17:42:52 +0200 Subject: [PATCH] fix: types in dist build --- tasks/copy-types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/copy-types.ts b/tasks/copy-types.ts index 5e73d5d..9ca2f67 100644 --- a/tasks/copy-types.ts +++ b/tasks/copy-types.ts @@ -4,7 +4,7 @@ import { walk } from "jsr:@std/fs@^1.0"; const it = walk("./src/pages/", { exts: [".d.ts"] }); for await (const item of it) { - const target = `dist/${item.path.replace("src/applets/", "")}`; + const target = `dist/${item.path.replace("src/pages/", "")}`; const targetDir = target.split("/").slice(0, -1).join("/"); Deno.mkdirSync(targetDir, { recursive: true }); -- 2.51.2