jormungandr-bite/scripts/clean.js
ThatOneCalculator 833c901a9c chore: 🎨 format
2023-06-23 21:22:44 -07:00

22 lines
571 B
JavaScript

const fs = require("node:fs");
const { join } = require("node:path");
(async () => {
fs.rmSync(join(__dirname, "/../packages/backend/built"), {
recursive: true,
force: true,
});
fs.rmSync(join(__dirname, "/../packages/backend/native-utils/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, "/../built"), { recursive: true, force: true });
})();