1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-16 07:38:14 +09:00
MisskeyIO/scripts/clean-all.js

13 lines
563 B
JavaScript
Raw Normal View History

2021-11-13 13:01:22 +09:00
const fs = require('fs');
(async () => {
fs.rmSync(__dirname + '/../packages/backend/built', { recursive: true, force: true });
fs.rmSync(__dirname + '/../packages/backend/node_modules', { recursive: true, force: true });
fs.rmSync(__dirname + '/../packages/client/built', { recursive: true, force: true });
fs.rmSync(__dirname + '/../packages/client/node_modules', { recursive: true, force: true });
fs.rmSync(__dirname + '/../built', { recursive: true, force: true });
fs.rmSync(__dirname + '/../node_modules', { recursive: true, force: true });
})();