Update dependency @vitejs/plugin-react to ^4.5.2 #330

Open
renovate wants to merge 1 commits from renovate/vitejs-plugin-react-4.x into master
Collaborator

This PR contains the following updates:

Package Type Update Change
@vitejs/plugin-react (source) devDependencies minor ^4.4.1 -> ^4.5.2

Release Notes

vitejs/vite-plugin-react (@​vitejs/plugin-react)

v4.5.2

Compare Source

Suggest @vitejs/plugin-react-oxc if rolldown-vite is detected #​491

Emit a log which recommends @vitejs/plugin-react-oxc when rolldown-vite is detected to improve performance and use Oxc under the hood. The warning can be disabled by setting disableOxcRecommendation: true in the plugin options.

Use optimizeDeps.rollupOptions instead of optimizeDeps.esbuildOptions for rolldown-vite #​489

This suppresses the warning about optimizeDeps.esbuildOptions being deprecated in rolldown-vite.

Add Vite 7-beta to peerDependencies range #​497

React plugins are compatible with Vite 7, this removes the warning when testing the beta.

v4.5.1

Compare Source

Add explicit semicolon in preambleCode #​485

This fixes an edge case when using HTML minifiers that strips line breaks aggressively.

v4.5.0

Compare Source

Add filter for rolldown-vite #​470

Added filter so that it is more performant when running this plugin with rolldown-powered version of Vite.

Skip HMR for JSX files with hooks #​480

This removes the HMR warning for hooks with JSX.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#readme) ([source](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react)) | devDependencies | minor | [`^4.4.1` -> `^4.5.2`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-react/4.4.1/4.5.2) | --- ### Release Notes <details> <summary>vitejs/vite-plugin-react (@&#8203;vitejs/plugin-react)</summary> ### [`v4.5.2`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#452-2025-06-10) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/2f3205265904ff7770021700689a0d6fe17b1f03...bfb45addb83ebae8feebdb75be2e07ce27e916cb) ##### Suggest `@vitejs/plugin-react-oxc` if rolldown-vite is detected [#&#8203;491](https://github.com/vitejs/vite-plugin-react/pull/491) Emit a log which recommends `@vitejs/plugin-react-oxc` when `rolldown-vite` is detected to improve performance and use Oxc under the hood. The warning can be disabled by setting `disableOxcRecommendation: true` in the plugin options. ##### Use `optimizeDeps.rollupOptions` instead of `optimizeDeps.esbuildOptions` for rolldown-vite [#&#8203;489](https://github.com/vitejs/vite-plugin-react/pull/489) This suppresses the warning about `optimizeDeps.esbuildOptions` being deprecated in rolldown-vite. ##### Add Vite 7-beta to peerDependencies range [#&#8203;497](https://github.com/vitejs/vite-plugin-react/pull/497) React plugins are compatible with Vite 7, this removes the warning when testing the beta. ### [`v4.5.1`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#451-2025-06-03) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/476e705375ef618458918580beb63f43799d12e4...2f3205265904ff7770021700689a0d6fe17b1f03) ##### Add explicit semicolon in preambleCode [#&#8203;485](https://github.com/vitejs/vite-plugin-react/pull/485) This fixes an edge case when using HTML minifiers that strips line breaks aggressively. ### [`v4.5.0`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#450-2025-05-23) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/57cc39869c319b842dac348b62c882a7bb963f7b...476e705375ef618458918580beb63f43799d12e4) ##### Add `filter` for rolldown-vite [#&#8203;470](https://github.com/vitejs/vite-plugin-react/pull/470) Added `filter` so that it is more performant when running this plugin with rolldown-powered version of Vite. ##### Skip HMR for JSX files with hooks [#&#8203;480](https://github.com/vitejs/vite-plugin-react/pull/480) This removes the HMR warning for hooks with JSX. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC41OS4yIiwidXBkYXRlZEluVmVyIjoiNDAuNTkuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
renovate added 1 commit 2025-06-17 00:30:54 +00:00
Update dependency @vitejs/plugin-react to ^4.5.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
464b0987e2
renovate force-pushed renovate/vitejs-plugin-react-4.x from 464b0987e2 to ef92b5a16d 2025-06-18 00:25:07 +00:00 Compare
renovate force-pushed renovate/vitejs-plugin-react-4.x from ef92b5a16d to 94cfe9be26 2025-06-19 00:28:45 +00:00 Compare
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/vitejs-plugin-react-4.x:renovate/vitejs-plugin-react-4.x
git checkout renovate/vitejs-plugin-react-4.x
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pierre/VirtWebRemote#330
No description provided.