From b4038cb54b4c3dc7d2cf836d574fd278c9d5016a Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Mon, 21 Aug 2023 11:27:07 -0700 Subject: [PATCH] Compress JSON files too --- scripts/compress.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/compress.sh b/scripts/compress.sh index 7e0898d..c9bdd22 100644 --- a/scripts/compress.sh +++ b/scripts/compress.sh @@ -10,7 +10,7 @@ set -e -u output_dir="$1" format="$2" -alias find_compressible='find "$output_dir" -type f \( -name "*.html" -o -name "*.txt" -o -name "*.xml" -o -name "*.webmanifest" -o -name "*.*.svg" \)' +alias find_compressible='find "$output_dir" -type f \( -name "*.html" -o -name "*.txt" -o -name "*.xml" -o -name "*.webmanifest" -o -name "*.*.svg" -o -name "*.json" \)' if [ "$format" = "gzip" ]; then compress_level="$3"