webassembly/start.sh
2025-04-19 18:59:47 +02:00

10 lines
212 B
Bash
Executable File

#!/bin/bash
# Change to the directory where this script is located
cd "$(dirname "$0")"
echo "=== Building WebAssembly module ==="
wasm-pack build --target web
echo "=== Starting server ==="
node www/server.js