Files

7 lines
260 B
JavaScript
Raw Permalink Normal View History

2026-07-23 04:23:19 -05:00
import { rm } from "node:fs/promises";
import { fileURLToPath } from "node:url";
import path from "node:path";
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
await rm(path.join(root, "dist"), { recursive: true, force: true });