chore: add script to delete all build and vendor folders recursively
- delete all `node_modules` dirs - delete all `.next` dirs - delete all `out` dirs
This commit is contained in:
parent
ea6229f6cf
commit
4c8106e25a
1 changed files with 5 additions and 0 deletions
5
scripts/delete-deps.sh
Executable file
5
scripts/delete-deps.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
rm -rf $(find . -type d -name "node_modules")
|
||||
rm -rf $(find . -type d -name ".next") # next build dir
|
||||
rm -rf $(find . -type d -name "out") # `next export` output dir
|
||||
Reference in a new issue