build.sh: add export NODE_ENV=production

This commit is contained in:
Starbeamrainbowlabs 2022-07-06 02:33:37 +01:00
parent 0e7b292bb1
commit 63abd1f539
No known key found for this signature in database
GPG Key ID: 1BE5172E637709C2

@ -8,6 +8,9 @@ if [[ "${1}" == "ci" ]] && [[ ! -z "${is_main}" ]]; then
echo "Skipping build, because this commit does not appear to be on the 'main' branch, and we only deploy commits on the 'main' branch."; echo "Skipping build, because this commit does not appear to be on the 'main' branch, and we only deploy commits on the 'main' branch.";
fi fi
# This causes the eleventy docs site to minify stuff
export NODE_ENV=production;
# ██████ ██ ██████ ██ ██ ██ ██ ██████ # ██████ ██ ██████ ██ ██ ██ ██ ██████
# ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ # ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
# ██ ██ ██████ ██ ██ ██ ██ ██ ██ # ██ ██ ██████ ██ ██ ██ ██ ██ ██