1
0
Fork 0

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:
Vojtěch Mareš 2022-12-09 12:27:06 +01:00
parent ea6229f6cf
commit 4c8106e25a
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

5
scripts/delete-deps.sh Executable file
View 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