diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2019-12-09 13:04:58 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-12-09 13:04:58 +0300 |
commit | 6352e9e18f227e8d7785a0f9771d8e8ff9968e0c (patch) | |
tree | ce4bd7024b905a1323b21fbb100274a9a74356e4 | |
parent | fb2748efdc245bbda34a47a9cdbae36dc19aa46e (diff) |
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.
-rwxr-xr-x | scripts/minify-assets.sh | 1 |
1 files changed, 0 insertions, 1 deletions
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" |