diff --git a/lib/functions/buildFileList.sh b/lib/functions/buildFileList.sh index fc84d495..479be7e8 100755 --- a/lib/functions/buildFileList.sh +++ b/lib/functions/buildFileList.sh @@ -100,6 +100,18 @@ function BuildFileList() { -not \( -path '*/\.terragrunt-cache' -prune \) \ -not \( -path '*/\.venv' -prune \) \ -not \( -path '*/\__pycache__' -prune \) \ + -not \( -path '*/\node_modules' -prune \) \ + -not -name ".DS_Store" \ + -not -name "*.gif" \ + -not -name "*.ico" \ + -not -name "*.jpg" \ + -not -name "*.jpeg" \ + -not -name "*.pdf" \ + -not -name "*.png" \ + -not -name "*.webp" \ + -not -name "*.woff" \ + -not -name "*.woff2" \ + -not -name "*.zip" \ -type f \ 2>&1 | sort)