#!/usr/bin/env bash # Build the browser version and zip it: $DIST/lightcraft-web-.zip # # Usage: packaging/web/package.sh [--skip-build] # # Needs: the wasm32-unknown-unknown target and the wasm-bindgen CLI at the version in Cargo.lock # (see docs/web.md); `cargo xtask web` builds it. The zip holds a self-contained static site in lightcraft-web-/ that works # from any URL path and inside an