Bundler contract drift

Vite 8 Rolldown custom Rollup plugin hook receives different values current contract

A current Vite 8 task fails with: Vite 8 custom Rollup plugin hook receives different Rolldown values.

search-necessaryVite 8JavaScript build toolingBundler contract driftgitdocs_candidate100

Agent Quick Fix

The local workspace gives the symptom and stale integration shape, but the correct repair depends on current official product behavior or recent release notes.

Product: Vite 8
Current-contract area: Vite 8 custom Rollup plugin hook receives different Rolldown values
Likely root cause: A current Vite 8 task fails with: Vite 8 custom Rollup plugin hook receives different Rolldown values. The local stale integration is plausible but may not reflect the current external contract.
Repair direction: Verifier accepts a repair record only if it states the current contract and an actionable fix using source-backed product terms.

Validation Status

Codex searched organically, passed with web access, and failed the no-web counterfactual under this fixture.

Symptom

A current Vite 8 task fails with: Vite 8 custom Rollup plugin hook receives different Rolldown values. The local stale integration is plausible but may not reflect the current external contract.

Why This Happens

The local workspace gives the symptom and stale integration shape, but the correct repair depends on current official product behavior or recent release notes.

Verification

Verifier accepts a repair record only if it states the current contract and an actionable fix using source-backed product terms.

Common Wrong Fixes

  • Changing local code without checking the current external contract.
  • Retrying the same install, build, or API call with no version/source change.
  • Applying a broad unsafe bypass when a narrow compatibility fix is available.

Codex Search Keywords

These are the search terms observed in a neutral Codex validation run for this failure shape.

Vite 8 Rolldown custom Rollup plugin hook receives different values current contract
site:vite.dev rolldown custom rollup plugin hook values
Vite Rolldown migration guide plugin compatibility
Rolldown Vite official docs plugin compatibility
Rolldown Vite
https://vite.dev/guide/rolldown
https://vite.dev/guide/rolldown.md
'hook receives' in https://github.com/vitejs/rolldown-vite/pull/84
"the `bundle` object reference is not shared across the hooks"
https://raw.githubusercontent.com/vitejs/vite/main/docs/guide/rolldown.md
https://github.com/vitejs/vite/tree/main/docs/guide
npm vite 8 beta rolldown
https://registry.npmjs.org/vite/latest
registry.npmjs.org vite latest
"custom Rollup plugin hook" "Rolldown"
https://vite.dev/guide/
https://vite.dev/guide/migration
'Rolldown' in https://vite.dev/guide/api-plugin
https://vite.dev/changes/
https://vite.dev/config/build-options
'Rolldown Plugin API' in https://vite.dev/guide/api-plugin
'build.rollupOptions' in https://vite.dev/config/build-options

Source Trail

GitHub source file/reference: