Skip to content

docs: clarify browser support wording#21657

Open
wesleysmyth wants to merge 1 commit intovitejs:mainfrom
wesleysmyth:fix/docs-browser-support-wording
Open

docs: clarify browser support wording#21657
wesleysmyth wants to merge 1 commit intovitejs:mainfrom
wesleysmyth:fix/docs-browser-support-wording

Conversation

@wesleysmyth
Copy link

What

Clarifies the browser support documentation wording that was flagged as confusing in #21144.

Why

The original phrasing — "These are browsers that were released at least 2.5 years ago" — reads as if Vite targets browsers from 2.5+ years ago. In reality, the Baseline Widely Available threshold means Vite only uses features that have been available across all major browsers for at least 2.5 years.

Change

- These are browsers that were released at least 2.5 years ago.
+ That means it only uses features which have been available across browsers for at least 2.5 years.

Closes #21144

The previous wording "browsers that were released at least 2.5 years ago"
implied targeting very old browsers. The actual meaning is that Vite uses
features which have been available across browsers for at least 2.5 years.

Fixes vitejs#21144
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Guide says "at least 2.5 years ago" but means "at most 2.5 years ago"

1 participant