mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-24 01:42:10 +00:00
Makefile: compress missed assets
This commit is contained in:
parent
02dc7822ec
commit
c844256b8d
1 changed files with 2 additions and 2 deletions
4
Makefile
4
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
|
||||
|
|
Loading…
Reference in a new issue