iceshrimp/scripts/clean.js
2023-06-05 16:40:48 -07:00

17 lines
395 B
JavaScript

const fs = require("fs");
(async () => {
fs.rmSync(`${__dirname}/../packages/backend/built`, {
recursive: true,
force: true,
});
fs.rmSync(`${__dirname}/../packages/client/built`, {
recursive: true,
force: true,
});
fs.rmSync(`${__dirname}/../packages/sw/built`, {
recursive: true,
force: true,
});
fs.rmSync(`${__dirname}/../built`, { recursive: true, force: true });
})();