#!/usr/bin/env bash # Build the browser version and zip it: $DIST/effectcraft-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; # `cargo xtask web` builds it. The zip holds a self-contained static site in effectcraft-web-/ that works # from any URL path and inside an