mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-22 05:55:12 +00:00
2fe86fd869
* enhance: Vite HMR while yarn dev, and more build tuning * use localhost Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
16 lines
814 B
JavaScript
16 lines
814 B
JavaScript
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 + '/../packages/sw/built', { recursive: true, force: true });
|
|
fs.rmSync(__dirname + '/../packages/sw/node_modules', { recursive: true, force: true });
|
|
|
|
fs.rmSync(__dirname + '/../built', { recursive: true, force: true });
|
|
fs.rmSync(__dirname + '/../node_modules', { recursive: true, force: true });
|
|
fs.rmSync(__dirname + '/../.yarn/cache', { recursive: true, force: true });
|
|
})();
|