zs-starter-template/.zs/posthook

15 lines
228 B
Plaintext
Raw Normal View History

#!/bin/sh
set -e
CSS="bahunya site"
2023-03-18 10:27:10 +03:00
JS="live"
2023-03-18 10:27:10 +03:00
for css in $CSS; do
minify -o "$ZS_OUTDIR/css/$css.min.css" "$ZS_OUTDIR/css/$css.css"
2023-03-18 10:27:10 +03:00
done
2023-03-18 10:27:10 +03:00
for js in $JS; do
minify -o "$ZS_OUTDIR/js/$js.min.js" "$ZS_OUTDIR/js/$js.js"
2023-03-18 10:27:10 +03:00
done