Update Vite to 8.3.2

Vite 8.3 uses rolldown 1.2.x, so the direct rolldown 1.1.4 pin is
removed (one rolldown copy). Note: nodesandbox runtimes that only ship
WASI glue for rolldown 1.1.x fail to boot this with 'WASI binding not
found'; Vite 8.1.3 is the last release on rolldown 1.1.x.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Rami Bitar
2026-10-03 15:40:36 -04:00
co-authored by Claude Opus 5.5
parent 6fcfe59d0d
commit 7ec0029b08
3 changed files with 94 additions and 302 deletions
+5 -5
View File
@@ -28,16 +28,16 @@ yarn dev # http://localhost:3000
The sandbox runs Vite's native tools as WebAssembly (`NAPI_RS_FORCE_WASI`), and
its installer resolves from `package.json` ranges rather than `yarn.lock`. So:
- `vite` is pinned to **8.1.3**, which uses rolldown 1.1.x, and `rolldown` to
**1.1.4**. Rolldown 1.2.x's WASI binding needs glue the runtime doesn't
support yet ("WASI binding not found"). Bump these only together with the
runtime.
- `vite` is pinned to **8.3.2**, which uses rolldown 1.2.x. The runtime must
support rolldown 1.2's WASI binding (`@emnapi/*` 2.0 / `@napi-rs/wasm-runtime`
1.2); runtimes that only support rolldown 1.1.x fail to boot with "WASI
binding not found". Vite 8.1.3 is the last release on rolldown 1.1.x.
- WASI bindings (`@rolldown/binding-wasm32-wasi`, `@tailwindcss/oxide-wasm32-wasi`)
are **not** listed here: the runtime installs each package's `*-wasm32-wasi`
optional dependency itself, and npm on other hosts rejects them
(`EBADPLATFORM`).
- `@vitejs/plugin-react` (6.0.0) and Tailwind (4.3.1) match the harness samples.
- No Nitro: it brings its own rolldown 1.2.x.
- No Nitro.
## Layout