mirror of
https://github.com/morluto/rea.git
synced 2026-10-12 02:19:24 +00:00
8 lines
256 B
JavaScript
8 lines
256 B
JavaScript
import { rm } from "node:fs/promises";
|
|
import { dirname, join } from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
const root = join(dirname(fileURLToPath(import.meta.url)), "..");
|
|
|
|
await rm(join(root, "dist"), { recursive: true, force: true });
|