summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index c931c5a..acfde1f 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,7 @@
"start": "hugo server --bind=0.0.0.0 --disableFastRender --printI18nWarnings",
"start:prod": "npm run -s prestart && hugo server --bind=0.0.0.0 --disableFastRender --printI18nWarnings -e production",
"prebuild": "npm run clean:public && npm run -s mod:vendor",
- "build": "hugo --gc --minify",
+ "build": "hugo --gc --minify && find public/ -type f ! -name '*.png' -exec gzip -9k {} ;",
"build:cache": "npm run -s prebuild && hugo config | grep cachedir && hugo --gc --minify -e ci",
"build:debug": "hugo -e debug --debug",
"build:preview": "npm run build -D -F",