# The web build of `examples/showcase.rs` — the same binary the README's
# `cargo run --example showcase` runs, compiled for the browser. Run from the
# repository root through the script that pins the toolchain:
#
# scripts/showcase-web.sh serve
#
# `.github/workflows/pages.yml` runs `scripts/showcase-web.sh build --release`
# with the `--public-url` GitHub Pages serves it from.
[]
= "index.html"
= "showcase"
= ["examples"]
= "dist"
# Trunk watches the config's own directory by default, which is not where
# the code is. Paths are relative to this file.
[]
= ["index.html", "coi-serviceworker.js", "../showcase.rs", "../../src", "../../Cargo.toml"]
[]
= ["127.0.0.1"]
= 8081
= false
# Cross-origin isolation, for SharedArrayBuffer (wasm threads) and WebGPU.
# GitHub Pages cannot send these headers; coi-serviceworker.js covers that.
= { = "require-corp", = "same-origin" }