From 2150c1cde4076474571dc84ed297a8ecba8111e3 Mon Sep 17 00:00:00 2001 From: kodemaster-admin Date: Wed, 26 Nov 2025 10:23:40 +0000 Subject: [PATCH] Update .vizh/compile.sh --- .vizh/compile.sh | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.vizh/compile.sh b/.vizh/compile.sh index b2c726e..0dd0a68 100644 --- a/.vizh/compile.sh +++ b/.vizh/compile.sh @@ -1,12 +1,4 @@ #!/bin/sh -# -# This script is used to compile your program on Vizh.ai -# -# This runs before .vizh/run.sh -# -# Learn more: https://docs.vizh.ai/program-interface - -set -e # Exit on failure - -npm install -npm run build +set -e +[ -x node_modules/.bin/tsc ] || npm install --prefer-offline --no-audit --no-fund --progress=false --loglevel=error +node_modules/.bin/tsc