From b0323735e4468c2c1a0af17d4854407ec94dd821 Mon Sep 17 00:00:00 2001 From: JP Hastings-Spital Date: Wed, 20 Nov 2024 17:44:12 +0000 Subject: [PATCH] Use the correct type of regex to reduce Capsule data --- Taskfile.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Taskfile.yml b/Taskfile.yml index 2e9f6741..1f1149e6 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -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