#!/usr/bin/env bash # Build the browser version and zip it: $DIST/-web-.zip ( from brand.toml) # # 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 -web-/ that works # from any URL path and inside an