build: separate runtime artifacts and supervise command ownership
This commit is contained in:
@@ -4,7 +4,4 @@ import { fileURLToPath } from "node:url";
|
||||
|
||||
const root = join(dirname(fileURLToPath(import.meta.url)), "..");
|
||||
|
||||
await Promise.all([
|
||||
rm(join(root, "dist"), { recursive: true, force: true }),
|
||||
rm(join(root, ".cache", "tsconfig.build.tsbuildinfo"), { force: true }),
|
||||
]);
|
||||
await rm(join(root, "dist"), { recursive: true, force: true });
|
||||
|
||||
Reference in New Issue
Block a user