Update .vizh/compile.sh

This commit is contained in:
kodemaster-admin 2025-11-26 10:23:40 +00:00
parent 965ceffd7f
commit 2150c1cde4

View File

@ -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