blob: 0b960dbc427c35b8f56d9a6ee700760984783780 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import fs from "node:fs/promises";
import path from "node:path";
import { fileURLToPath } from "node:url";
const dirname = path.dirname( fileURLToPath( import.meta.url ) );
const TMP_BUNDLERS_DIR = path.resolve( dirname, "..", "tmp" );
export async function cleanTmpBundlersDir() {
await fs.rm( TMP_BUNDLERS_DIR, {
force: true,
recursive: true
} );
}
|