From c844256b8d7330fbfc6ea9fda245554ca51ea241 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Fri, 2 Jul 2021 21:01:14 -0700 Subject: [PATCH] Makefile: compress missed assets --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 32cae74..1549eb8 100644 --- a/Makefile +++ b/Makefile @@ -67,10 +67,10 @@ test: lint-css hint-devserver check-links .PHONY: build build: hugo ifndef NO_STATIC - find $(OUTPUT_DIR) -type f -name '*.html' -o -name '*.css' -o -name '*.xml' -o -name '*.webmanifest' \ + find $(OUTPUT_DIR) -type f -name '*.html' -o -name '*.css' -o -name '*.xml' -o -name '*.webmanifest' -o -name '*.*.svg' \ | grep -v gemini \ | xargs ect -$(ECT_LEVEL) -gzip - find $(OUTPUT_DIR) -type f -name '*.html' -o -name '*.css' -o -name '*.xml' -o -name '*.webmanifest' \ + find $(OUTPUT_DIR) -type f -name '*.html' -o -name '*.css' -o -name '*.xml' -o -name '*.webmanifest' -o -name '*.*.svg' \ | grep -v gemini \ | xargs brotli -q 11 -- endif