Skip to content

docs: add ios16.4 to the documented baseline-widely-available target#22600

Merged
sapphi-red merged 1 commit into
vitejs:mainfrom
DucMinhNe:fix/docs-build-target-ios-baseline
Jun 4, 2026
Merged

docs: add ios16.4 to the documented baseline-widely-available target#22600
sapphi-red merged 1 commit into
vitejs:mainfrom
DucMinhNe:fix/docs-build-target-ios-baseline

Conversation

@DucMinhNe

Copy link
Copy Markdown
Contributor

Description

The documented default for build.target lists the resolved 'baseline-widely-available' value as a 4-entry array, but the actual source constant is a 5-entry array — it's missing 'ios16.4'.

In packages/vite/src/node/constants.ts, ESBUILD_BASELINE_WIDELY_AVAILABLE_TARGET is:

['chrome111', 'edge111', 'firefox114', 'safari16.4', 'ios16.4']

'ios16.4' was added in #21342 ("feat: add ios to default esbuild targets") but the docs list in docs/config/build-options.md was never updated, so it still shows 4 entries. This aligns the documented default with the actual build behavior.

Docs-only, one token.

@sapphi-red sapphi-red added the documentation Improvements or additions to documentation label Jun 4, 2026
@sapphi-red sapphi-red merged commit d58c470 into vitejs:main Jun 4, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants