zs-starter-template/.zs/posthook
2023-03-16 17:45:05 +10:00

13 lines
309 B
Bash
Executable File

#!/bin/sh
set -e
minify -o "$ZS_OUTDIR/css/simple.min.css" "$ZS_OUTDIR/css/simple.css"
rm "$ZS_OUTDIR/css/simple.css"
minify -o "$ZS_OUTDIR/css/style.min.css" "$ZS_OUTDIR/css/style.css"
rm "$ZS_OUTDIR/css/style.css"
minify -o "$ZS_OUTDIR/js/live.min.js" "$ZS_OUTDIR/js/live.js"
rm "$ZS_OUTDIR/js/live.js"