{
  "id": "G060",
  "slug": "vite-8-custom-rollup-plugin-hook-receives-different-rolldown-values",
  "status": "search-necessary",
  "product": "Vite 8",
  "family": "Bundler contract drift",
  "canonical_url": "https://gitdocs.org/fix/vite-8-custom-rollup-plugin-hook-receives-different-rolldown-values",
  "query_alias_url": "https://gitdocs.org/q/vite-8-custom-rollup-plugin-hook-receives-different-rolldown-values",
  "markdown_url": "https://gitdocs.org/fix/vite-8-custom-rollup-plugin-hook-receives-different-rolldown-values.md",
  "json_url": "https://gitdocs.org/api/fixes/vite-8-custom-rollup-plugin-hook-receives-different-rolldown-values.json",
  "canonical_query": "Vite 8 Rolldown custom Rollup plugin hook receives different values current contract",
  "observed_codex_queries": [
    "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"
  ],
  "organic_dependency_search_count": 24,
  "affected_versions": "",
  "exact_errors": [],
  "diagnosis": "The local workspace gives the symptom and stale integration shape, but the correct repair depends on current official product behavior or recent release notes.",
  "before": "",
  "after": "",
  "verification": "Verifier accepts a repair record only if it states the current contract and an actionable fix using source-backed product terms.",
  "unsafe_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."
  ],
  "last_verified_at": "2026-06-25",
  "neutral_validation": {
    "organic_search_observed": true,
    "organic_strict_pass": true,
    "no_web_counterfactual_run": true,
    "no_web_strict_pass": false,
    "search_necessity_under_fixture": true,
    "no_web_oracle_note": "If no_web_strict_pass is true, this page is search-observed but not search-necessary under the current visible fixture."
  },
  "source_trail": [
    {
      "url": "https://vite.dev/guide/migration",
      "label": "Vite migration guide"
    },
    {
      "url": "https://vite.dev/guide/rolldown",
      "label": "Official reference opened by Codex"
    },
    {
      "url": "https://vite.dev/guide/rolldown.md",
      "label": "Official reference opened by Codex"
    },
    {
      "url": "https://raw.githubusercontent.com/vitejs/vite/main/docs/guide/rolldown.md",
      "label": "Official reference opened by Codex"
    },
    {
      "url": "https://github.com/vitejs/vite/tree/main/docs/guide",
      "label": "GitHub source file or repository reference"
    },
    {
      "url": "https://registry.npmjs.org/vite/latest",
      "label": "Official reference opened by Codex"
    },
    {
      "url": "https://vite.dev/guide/",
      "label": "Official reference opened by Codex"
    },
    {
      "url": "https://vite.dev/guide/migration",
      "label": "Official reference opened by Codex"
    }
  ],
  "source_github_links": [
    {
      "url": "https://raw.githubusercontent.com/vitejs/vite/main/docs/guide/rolldown.md",
      "label": "Official reference opened by Codex"
    },
    {
      "url": "https://github.com/vitejs/vite/tree/main/docs/guide",
      "label": "GitHub source file or repository reference"
    }
  ]
}
