@vitejs/plugin-react 6.1.2
The default Vite plugin for React projects
@vitejs/plugin-react@6.1.2 was published on 2026-10-05. Its manifest declares 1 runtime dependency and 4 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is ^20.19.0 || >=22.12.0.
All @vitejs/plugin-react versions · Permanent reference to 6.1.2 · Latest release
Package specifications
| Version | 6.1.2 |
|---|---|
| License declaration | MIT |
| Published | 2026-10-05T10:08:27.143Z |
| Node.js requirement | ^20.19.0 || >=22.12.0 |
| Type declarations | Not declared |
| Runtime dependency count | 1 |
| Peer requirement count | 4 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 45.21 KiB |
| Published file count | 8 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 1 |
| Repository stars | 1175 |
| Repository forks | 277 |
Install @vitejs/plugin-react 6.1.2
npm install @vitejs/plugin-react@6.1.2 pnpm add @vitejs/plugin-react@6.1.2 yarn add @vitejs/plugin-react@6.1.2
Runtime dependencies
- @rolldown/pluginutils ^1.0.1
Peer requirements
- vite ^8.0.0
- oxc-transform-react ^0.152.0 (optional peer)
- @rolldown/plugin-babel ^0.1.7 || ^0.2.0 (optional peer)
- babel-plugin-react-compiler ^1.0.0 (optional peer)
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @rolldown/pluginutils@1.0.1 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 10/10 — 30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Code-Review | 1/10 — Found 3/21 approved changesets -- score normalized to 1 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 8/10 — detected GitHub workflow tokens with excessive permissions |
| Pinned-Dependencies | 9/10 — dependency not pinned by hash detected -- score normalized to 9 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Branch-Protection | 3/10 — branch protection is not maximal on development and all release branches |
| Security-Policy | 10/10 — security policy file detected |
| SAST | 10/10 — SAST tool is run on all commits |
Evidence and freshness
- https://registry.npmjs.org/%40vitejs%2Fplugin-react/6.1.2 — retrieved 2026-10-29T12:46:10.812Z
- https://api.deps.dev/v3/projects/github.com%2Fvitejs%2Fvite-plugin-react — retrieved 2026-10-29T10:51:36.518Z
- https://api.deps.dev/v3/systems/npm/packages/%40vitejs%2Fplugin-react/versions/6.1.2 — retrieved 2026-10-29T12:46:11.360Z
- https://api.deps.dev/v3/systems/npm/packages/%40vitejs%2Fplugin-react/versions/6.1.2:dependencies — retrieved 2026-10-29T12:46:11.409Z