vad-web's own dependency was resolved to ort@1.24.3 (nested in its node_modules), which only has threaded WASM requiring a .mjs dynamic import that Vite fails to serve correctly. Pin ort to 1.18.0 via yarn resolutions so all packages share the same copy with ort-wasm-simd.wasm (non-threaded SIMD). Also remove the now-unnecessary COOP/COEP headers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
5.5 KiB
5.5 KiB