Update .vizh/compile.sh
This commit is contained in:
parent
965ceffd7f
commit
2150c1cde4
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user