From 6352e9e18f227e8d7785a0f9771d8e8ff9968e0c Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Mon, 9 Dec 2019 11:04:58 +0100 Subject: Don't minify XML files The only XML file is the sitemap, no need to minify that. It also "breaks" when viewing it through the browser. --- scripts/minify-assets.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/minify-assets.sh b/scripts/minify-assets.sh index f5408ad9..02562039 100755 --- a/scripts/minify-assets.sh +++ b/scripts/minify-assets.sh @@ -21,6 +21,5 @@ printf "HTML..."; /scripts/minify -r --type=html --match=\.html -o ${TARGET}/${V printf "CSS..." ; /scripts/minify -r --type=css --match=\.css -o ${TARGET}/${VER}/ ${TARGET}/${VER} || true printf "JSON..."; /scripts/minify -r --type=json --match=\.json -o ${TARGET}/${VER}/ ${TARGET}/${VER} || true printf "SVG..." ; /scripts/minify -r --type=svg --match=\.svg -o ${TARGET}/${VER}/ ${TARGET}/${VER} || true -printf "XML..." ; /scripts/minify -r --type=xml --match=\.xml -o ${TARGET}/${VER}/ ${TARGET}/${VER} || true echo "Done" -- cgit v1.2.3