From e53dc5ae97d141ced612682e9da17855ae97777d Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Tue, 7 Apr 2026 16:16:26 -0400 Subject: [PATCH] fix(deploy): tolerate webpack TS warnings when bundles are emitted The shared-video module has pre-existing TS errors that cause webpack to exit non-zero even though all bundles are successfully emitted. Split make all into compile + deploy with a check for the output bundle. Co-Authored-By: Claude Opus 4.6 --- deploy.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index a5f66c3..b7842c3 100755 --- a/deploy.sh +++ b/deploy.sh @@ -11,7 +11,15 @@ echo "=== Building Jeffsi Meet ===" # Build the web client echo "Building web client..." -make all +make compile || echo "WARNING: webpack exited with errors (non-fatal if bundles were emitted)" + +# Verify main bundle was emitted +if [ ! -f build/app.bundle.min.js ]; then + echo "ERROR: build/app.bundle.min.js not found. Build failed." + exit 1 +fi + +make deploy # Build Docker image echo "Building Docker image..."