From e5f674c19bf250a6e24d15b800bc0bbd60f6e39a Mon Sep 17 00:00:00 2001 From: Ari Archer Date: Sat, 1 Oct 2022 04:05:36 +0300 Subject: [PATCH] Fix the minhtml script Signed-off-by: Ari Archer --- scripts/minhtml.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/minhtml.sh b/scripts/minhtml.sh index 175cb23..2a9976e 100755 --- a/scripts/minhtml.sh +++ b/scripts/minhtml.sh @@ -7,7 +7,7 @@ main() { echo 'Minifying all HTML' find . -not -ipath "./node_modules/*" -type f -name "*.html" \ - -exec html-minifier --collapse-whitespace --collapse-inline-tag-whitespace --remove-tag-whitespace -o {}.min {} \; \ + -exec html-minifier --collapse-whitespace -o {}.min {} \; \ -exec rm {} \; \ -exec mv {}.min {} \; \ -exec sh -c "printf '\n\n%s\n' '' >>\"\$1\"" -- {} \;