From 82d5e5c695b6e67c4cc10806552294ef08c168c9 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sat, 22 Jul 2023 21:15:20 -0700 Subject: [PATCH] Revert "add offline option to bundleWeb.sh (#3193)" This reverts commit e338da9fa3cf02debafe6526d5ed3a3f87fbef48. --- build/web/bundleWeb.sh | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/build/web/bundleWeb.sh b/build/web/bundleWeb.sh index eba409f20..d1e07d97a 100755 --- a/build/web/bundleWeb.sh +++ b/build/web/bundleWeb.sh @@ -5,26 +5,13 @@ set -o errexit set -o nounset set -o pipefail -OFFLINE=0 -while [[ $# -gt 0 ]]; do - case $1 in - --offline) - OFFLINE=1 - ;; - esac - shift -done - # Change to the root directory of the repository cd "$(git rev-parse --show-toplevel)" cd web -if [ ! "$OFFLINE" ] -then - echo "Installing npm modules for the owncast web..." - npm --silent install 2>/dev/null -fi +echo "Installing npm modules for the owncast web..." +npm --silent install 2>/dev/null echo "Building owncast web..." rm -rf .next