Skip to content

Commit 25c1b40

Browse files
Update dependency @vitejs/plugin-react to v4.5.2
| datasource | package | from | to | | ---------- | -------------------- | ----- | ----- | | npm | @vitejs/plugin-react | 4.5.0 | 4.5.2 | ## [v4.5.2](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#452-2025-06-10) ##### Suggest `@vitejs/plugin-react-oxc` if rolldown-vite is detected [#491](vitejs/vite-plugin-react#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: false` in the plugin options. ##### Use `optimizeDeps.rollupOptions` instead of `optimizeDeps.esbuildOptions` for rolldown-vite [#489](vitejs/vite-plugin-react#489) This suppresses the warning about `optimizeDeps.esbuildOptions` being deprecated in rolldown-vite. ##### Add Vite 7-beta to peerDependencies range [#497](vitejs/vite-plugin-react#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) ##### Add explicit semicolon in preambleCode [#485](vitejs/vite-plugin-react#485) This fixes an edge case when using HTML minifiers that strips line breaks aggressively.
1 parent 89f0a3c commit 25c1b40

File tree

2 files changed

+191
-24
lines changed

2 files changed

+191
-24
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@types/yargs": "17.0.33",
2828
"@typescript-eslint/eslint-plugin": "8.32.1",
2929
"@typescript-eslint/parser": "8.32.1",
30-
"@vitejs/plugin-react": "4.5.0",
30+
"@vitejs/plugin-react": "4.5.2",
3131
"dotenv": "16.5.0",
3232
"eslint": "8.23.1",
3333
"eslint-config-airbnb": "19.0.4",

0 commit comments

Comments
 (0)