diff --git a/packages/plugin-react-swc/CHANGELOG.md b/packages/plugin-react-swc/CHANGELOG.md index 63f16db6..4ffbbddb 100644 --- a/packages/plugin-react-swc/CHANGELOG.md +++ b/packages/plugin-react-swc/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Add Vite 8-beta to peerDependencies range [#1013](https://github.com/vitejs/vite-plugin-react/pull/1013) + +React plugins are compatible with Vite 8, this removes the warning when testing the beta. + ## 4.2.2 (2025-11-12) ### Update code to support newer `rolldown-vite` ([#978](https://github.com/vitejs/vite-plugin-react/pull/978)) diff --git a/packages/plugin-react-swc/package.json b/packages/plugin-react-swc/package.json index 4e320711..8e4c84bf 100644 --- a/packages/plugin-react-swc/package.json +++ b/packages/plugin-react-swc/package.json @@ -36,7 +36,7 @@ "@swc/core": "^1.15.3" }, "peerDependencies": { - "vite": "^4 || ^5 || ^6 || ^7" + "vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-beta.0" }, "devDependencies": { "@playwright/test": "^1.57.0", diff --git a/packages/plugin-react/CHANGELOG.md b/packages/plugin-react/CHANGELOG.md index e732b63c..728f4d6f 100644 --- a/packages/plugin-react/CHANGELOG.md +++ b/packages/plugin-react/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Add Vite 8-beta to peerDependencies range [#1013](https://github.com/vitejs/vite-plugin-react/pull/1013) + +React plugins are compatible with Vite 8, this removes the warning when testing the beta. + ## 5.1.2 (2025-12-08) ## 5.1.1 (2025-11-12) diff --git a/packages/plugin-react/package.json b/packages/plugin-react/package.json index dd3a14df..1a9105c4 100644 --- a/packages/plugin-react/package.json +++ b/packages/plugin-react/package.json @@ -52,7 +52,7 @@ "react-refresh": "^0.18.0" }, "peerDependencies": { - "vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" + "vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-beta.0" }, "devDependencies": { "@vitejs/react-common": "workspace:*",