# Vite 7 default build target baseline widely available browsers target change

Status: search-observed
Product: Vite
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/vite-7-default-build-target-baseline-widely-available-browsers-target-change
Machine JSON: https://gitdocs.org/api/fixes/vite-7-default-build-target-baseline-widely-available-browsers-target-change.json

## Exact Symptom

See the observed Codex queries below.

## Diagnosis

Local code often type-checks under both old and new framework semantics; the failure depends on the installed framework version and current runtime defaults.

## Fix

```
Verifier checks behavior across multiple requests/build modes, not merely compilation. Check emitted assets and runtime behavior across the supported target.
```

## 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 7 default build target baseline widely available browsers target change
- site:vite.dev build target baseline-widely-available Vite 7
- Vite 7 default target chrome107 edge107 firefox104 safari16
- https://vite.dev/config/build-options.html
- https://v7.vite.dev/guide/migration.html

## Sources

- Vite 7.0: https://vite.dev/blog/announcing-vite7
- Official reference opened by Codex: https://vite.dev/config/build-options.html
- Official reference opened by Codex: https://v7.vite.dev/guide/migration.html
