mirror of
https://example.com
synced 2024-11-26 03:26:40 +09:00
33 lines
867 B
JavaScript
33 lines
867 B
JavaScript
import fs from "node:fs";
|
|
import path, { join } from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
(async () => {
|
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
|
|
fs.rmSync(join(__dirname, "/../packages/backend/built"), {
|
|
recursive: true,
|
|
force: true,
|
|
});
|
|
fs.rmSync(join(__dirname, "/../packages/backend-rs/built"), {
|
|
recursive: true,
|
|
force: true,
|
|
});
|
|
fs.rmSync(join(__dirname, "/../packages/client/built"), {
|
|
recursive: true,
|
|
force: true,
|
|
});
|
|
fs.rmSync(join(__dirname, "/../packages/sw/built"), {
|
|
recursive: true,
|
|
force: true,
|
|
});
|
|
fs.rmSync(join(__dirname, "/../packages/firefish-js/built"), {
|
|
recursive: true,
|
|
force: true,
|
|
});
|
|
fs.rmSync(join(__dirname, "/../packages/megalodon/lib"), {
|
|
recursive: true,
|
|
force: true,
|
|
});
|
|
fs.rmSync(join(__dirname, "/../built"), { recursive: true, force: true });
|
|
})();
|