#!/usr/bin/env bash # Build the browser version and zip it: $DIST/pdfcraft-web-.zip # # Usage: packaging/web/package.sh [--skip-build] # # Needs: trunk (brew install trunk / cargo install trunk --locked), the wasm32-unknown-unknown # target and network access for the OCR models (cargo xtask models). The zip holds a # self-contained static site in pdfcraft-web-/ that works from any URL path and inside # an