mirror of
https://git.mills.io/prologic/zs-starter-template.git
synced 2024-11-21 21:06:03 +03:00
18 lines
399 B
Bash
Executable File
18 lines
399 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
JS="toastui umbrella"
|
|
JS="$JS tui-color-picker"
|
|
JS="$JS toastui-editor-plugin-color-syntax"
|
|
JS="$JS toastui-editor-plugin-code-syntax-highlight"
|
|
|
|
# Load live.js for non-production builds for faster development
|
|
if [ -z "$ZS_PRODUCTION" ]; then
|
|
JS="$JS live"
|
|
fi
|
|
|
|
for js in $JS; do
|
|
printf "<script type=\"application/javascript\" src=\"/assets/js/%s.js\"></script>\n" "$js"
|
|
done
|