From f52ca09d2e7540dac4de413cb32461c532c92f70 Mon Sep 17 00:00:00 2001 From: Julius Zeidler Date: Sat, 1 Jun 2024 20:21:36 +0000 Subject: [PATCH] testing --- optimize.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/optimize.sh b/optimize.sh index d99a2fee..894a3382 100755 --- a/optimize.sh +++ b/optimize.sh @@ -1,2 +1,3 @@ #!/bin/bash - npx sharp-cli resize 800 --withoutEnlargement true --optimise true --progressive true --withMetadata false --input $(find ./docs \( -name cache -prune \) -o -name '*' -type f -exec file {} \; | awk -F: '{ if ($2 ~/[Ii]mage|EPS/) print $1}') --output "{dir}/{base}" \ No newline at end of file +echo "running image optimization" +npx sharp-cli resize 800 --withoutEnlargement true --optimise true --progressive true --withMetadata false --input $(find ./docs \( -name cache -prune \) -o -name '*' -type f -exec file {} \; | awk -F: '{ if ($2 ~/[Ii]mage|EPS/) print $1}') --output "{dir}/{base}" \ No newline at end of file