# Vite 8 optimizeDeps esbuildOptions deprecated rolldownOptions

Status: search-necessary
Product: Vite 8
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/optimizedeps-esbuildoptions-deprecated-use-rolldownoptions
Machine JSON: https://gitdocs.org/api/fixes/optimizedeps-esbuildoptions-deprecated-use-rolldownoptions.json

## Exact Symptom

See the observed Codex queries below.

## 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.

## Fix

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

## Avoid

- 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.

## Observed Codex Queries

- Vite 8 optimizeDeps esbuildOptions deprecated rolldownOptions
- Vite rolldownOptions optimizeDeps esbuildOptions
- "optimizeDeps.esbuildOptions" "rolldownOptions"
- Vite 8 release Rolldown optimizeDeps esbuildOptions
- https://vite.dev/config/dep-optimization-options.html
- https://vite.dev/config/dep-optimization-options.md

## Sources

- Vite migration guide: https://vite.dev/guide/migration
- Official reference opened by Codex: https://vite.dev/config/dep-optimization-options.html
- Official reference opened by Codex: https://vite.dev/config/dep-optimization-options.md
