Fail build if WebUI output missing

This commit is contained in:
CJACK. committed 2026-02-04 19:53:05 +08:00
1 parent 063c5d2540
commit 86ade10888
1 file changed
+5
+5
View File
@@ -18,5 +18,10 @@ fi
echo "🏗️ Running build..."
npm run build
if [ ! -f "../static/admin/index.html" ]; then
echo "❌ WebUI build failed: static/admin/index.html not found"
exit 1
fi
echo "✅ WebUI built successfully!"
echo "📁 Output: static/admin/"