Use the correct type of regex to reduce Capsule data

This commit is contained in:
JP Hastings-Spital 2024-11-20 17:44:12 +00:00
parent 4495912e08
commit b0323735e4

View file

@ -52,7 +52,7 @@ tasks:
# Gemini has no Javascript (no client-side interactivity at all), so search is useless
- rm -rf ./public/search
# Remove www-specific files
- find ./public -regex '.*\.(html|js|css|css\.map|webmanifest|xml|xsl|ico|opml)' -type f -delete
- find ./public -regextype posix-egrep -regex '.*\.(html|js|css|css\.map|webmanifest|xml|xsl|ico|opml)' -type f -delete
# Remove specific unneeded files
- rm -rf ./public/favicon*.png ./public/_redirects ./public/{apple,android,mstile}*.png ./public/safari-pinned-tab.svg ./public/robots.txt
# Remove specific unneeded directories