@vitejs/plugin-react 4.7.0

The default Vite plugin for React projects

@vitejs/plugin-react@4.7.0 was published on 2025-07-18. Its manifest declares 6 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is ^14.18.0 || >=16.0.0.

All @vitejs/plugin-react versions · Permanent reference to 4.7.0 · Latest release

Package specifications

Version4.7.0
License declarationMIT
Published2025-07-18T03:32:30.541Z
Node.js requirement^14.18.0 || >=16.0.0
Type declarationsBundled declarations
Runtime dependency count6
Peer requirement count1
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size58.86 KiB
Published file count8
Package typemodule
ES module entry./dist/index.js
Default entry./dist/index.cjs
Side effects declarationNot declared
Direct advisories0
Resolved graph dependencies48
Repository stars1175
Repository forks277

Install @vitejs/plugin-react 4.7.0

npm install @vitejs/plugin-react@4.7.0
pnpm add @vitejs/plugin-react@4.7.0
yarn add @vitejs/plugin-react@4.7.0

Runtime dependencies

Peer requirements

  • vite ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

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.

Maintained10/10 — 30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
Code-Review1/10 — Found 3/21 approved changesets -- score normalized to 1
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Token-Permissions8/10 — detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies9/10 — dependency not pinned by hash detected -- score normalized to 9
Binary-Artifacts10/10 — no binaries found in the repo
License10/10 — license file detected
Fuzzing0/10 — project is not fuzzed
Branch-Protection3/10 — branch protection is not maximal on development and all release branches
Security-Policy10/10 — security policy file detected
SAST10/10 — SAST tool is run on all commits

Evidence and freshness