From 63abd1f539032692a3bb038c19701020ac433962 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Wed, 6 Jul 2022 02:33:37 +0100 Subject: [PATCH] build.sh: add export NODE_ENV=production --- build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.sh b/build.sh index 17809ff..a0ea04f 100755 --- a/build.sh +++ b/build.sh @@ -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."; fi +# This causes the eleventy docs site to minify stuff +export NODE_ENV=production; + # ██████ ██ ██████ ██ ██ ██ ██ ██████ # ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ # ██ ██ ██████ ██ ██ ██ ██ ██ ██