+1
-1
tasks/copy-types.ts
+1
-1
tasks/copy-types.ts
···
4
4
const it = walk("./src/pages/", { exts: [".d.ts"] });
5
5
6
6
for await (const item of it) {
7
-
const target = `dist/${item.path.replace("src/applets/", "")}`;
7
+
const target = `dist/${item.path.replace("src/pages/", "")}`;
8
8
const targetDir = target.split("/").slice(0, -1).join("/");
9
9
10
10
Deno.mkdirSync(targetDir, { recursive: true });