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