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 });