Added a comment with code which could run html-minifier
This commit is contained in:
parent
10c563a076
commit
07c3b8e5e5
1 changed files with 8 additions and 0 deletions
|
@ -22,3 +22,11 @@ bash ../../tools/html2string.sh ../html/top.js > top.js
|
||||||
bash ../../tools/html2string.sh ../html/bottom.js > bottom.js
|
bash ../../tools/html2string.sh ../html/bottom.js > bottom.js
|
||||||
bash ../../tools/html2string.sh ../html/style.css > style.css
|
bash ../../tools/html2string.sh ../html/style.css > style.css
|
||||||
|
|
||||||
|
#for file in *"_tmp"; do
|
||||||
|
# if [[ -f "$file" ]]; then
|
||||||
|
# new_file="${file%_tmp}"
|
||||||
|
# html-minifier --collapse-whitespace --remove-comments --remove-optional-tags --remove-redundant-attributes --remove-script-type-attributes --remove-tag-whitespace --use-short-doctype --minify-css true "$file" > "$new_file"
|
||||||
|
# rm "$file"
|
||||||
|
# fi
|
||||||
|
#done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue