sim/ui/build.sh

6 lines
176 B
Bash

#!/bin/sh
# Builds the Leptos UI into ui/pkg, which the sim server serves at /pkg/.
set -e
cd "$(dirname "$0")"
wasm-pack build --target web --out-dir pkg --no-typescript "$@"