zs-starter-template/.zs/posthook

15 lines
228 B
Bash
Executable File

#!/bin/sh
set -e
CSS="bahunya site"
JS="live"
for css in $CSS; do
minify -o "$ZS_OUTDIR/css/$css.min.css" "$ZS_OUTDIR/css/$css.css"
done
for js in $JS; do
minify -o "$ZS_OUTDIR/js/$js.min.js" "$ZS_OUTDIR/js/$js.js"
done