zs-starter-template/.zs/scripts

15 lines
278 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
set -e
JS="highlight umbrella"
# Load live.js for non-production builds for faster development
if [ -z "$ZS_PRODUCTION" ]; then
JS="$JS live"
fi
for js in $JS; do
2023-04-01 05:08:25 +03:00
printf "<script type=\"application/javascript\" src=\"/assets/js/%s.js\"></script>\n" "$js"
done