mirror of
https://github.com/different-ai/openwork
synced 2026-05-15 11:36:23 +02:00
7 lines
255 B
JavaScript
7 lines
255 B
JavaScript
import { rm } from "node:fs/promises";
|
|
import { resolve } from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
const root = resolve(fileURLToPath(new URL("..", import.meta.url)));
|
|
await rm(resolve(root, "dist"), { recursive: true, force: true });
|