added a way to bundle the whole app
This commit is contained in:
parent
872d29f3e1
commit
249c88da83
5 changed files with 119 additions and 116 deletions
|
|
@ -32,7 +32,7 @@ if [ ${#ARGS[@]} -lt 3 ]; then
|
|||
fi
|
||||
|
||||
script_dir="$(cd "$(dirname "$0")" && pwd)"
|
||||
node_args=("$script_dir/server.js")
|
||||
node_args=("$script_dir/dist/server.cjs")
|
||||
[ -n "$STATIC" ] && node_args+=("$STATIC")
|
||||
[ -n "$OUTFILE" ] && node_args+=("--out" "$OUTFILE")
|
||||
node_args+=("${ARGS[@]}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue