Skip to content

Commit ccb04a7

Browse files
committed
clear pkg dir before building
1 parent e4235e3 commit ccb04a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/build.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
async function main() {
2+
await Deno.remove("./pkg", { recursive: true });
23
await Deno.run({
34
cmd: ["wasm-pack", "build", "--target", "web", "--release"],
45
}).status();

0 commit comments

Comments
 (0)