- delete all `node_modules` dirs - delete all `.next` dirs - delete all `out` dirs
5 lines
187 B
Bash
Executable file
5 lines
187 B
Bash
Executable file
#!/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
|