forked from FoundKeyGang/FoundKey
Norm
8f782f8ce5
This makes it a bit easier to add any new files that may need to be cleaned up in the future. Also allows us to use top-level await for the `yarn dev` task. Co-authored-by: Francis Dinh <normandy@biribiri.dev> Reviewed-on: FoundKeyGang/FoundKey#290
14 lines
297 B
JavaScript
14 lines
297 B
JavaScript
import { files, clean } from './clean.mjs';
|
|
|
|
const allFiles = [
|
|
...files,
|
|
'/../packages/backend/node_modules',
|
|
'/../packages/client/node_modules',
|
|
'/../packages/foundkey-js/node_modules',
|
|
'/../packages/sw/node_modules',
|
|
'/../node_modules',
|
|
];
|
|
|
|
for (const file of allFiles) {
|
|
clean(file);
|
|
}
|