Turbopack WASM Loading Test

Status: Loading WASM...


What this tests

This page dynamically imports @automerge/automerge-repo, which internally loads a WASM binary via Turbopack's chunk system.

Works locally because there is no ?dpl= deployment ID suffix.

Fails on Vercel because Turbopack's .q() function appends ?dpl=xxx to the WASM path, then N()encodeURIComponent's the path segment (turning ? into %3F) and appends ?dpl=xxx again. The double-encoded URL 404s.

Works with Next.js 16.1.7 because it used .v() which stored paths without the suffix.