2 Commits

Author SHA1 Message Date
xfy
30786eb253 fix(web): ship WGSL shaders to dist via trunk copy-dir
Bevy's HttpWasmAssetReader fetches asset paths over HTTP at runtime,
requesting 'assets/shaders/*.wgsl' (matching AssetPlugin's default
file_path of "assets"). Trunk only emits what index.html references,
so without an explicit copy-dir link the shaders were absent from dist/
and every material hit a 404 → grey screen.

Add the copy-dir link so trunk mirrors assets/ into dist/.
2026-07-16 10:07:07 +08:00
xfy
9c8f384d0e feat: web build via trunk with WebGPU detection + fallback 2026-07-10 10:12:57 +08:00