misskey/scripts/clean.js

8 lines
294 B
JavaScript
Raw Permalink Normal View History

2021-11-12 02:42:47 +00:00
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 + '/../built', { recursive: true, force: true });
})();