Skip to content

Commit c06b8e4

Browse files
Update dependency @vitejs/plugin-react to v4.6.0
| datasource | package | from | to | | ---------- | -------------------- | ----- | ----- | | npm | @vitejs/plugin-react | 4.5.0 | 4.6.0 | ## [v4.6.0](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#460-2025-06-23) ##### Add raw Rolldown support This plugin only worked with Vite. But now it can also be used with raw Rolldown. The main purpose for using this plugin with Rolldown is to use react compiler. ## [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 4fd4ddd commit c06b8e4

File tree

2 files changed

+213
-24
lines changed

2 files changed

+213
-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.6.0",
3131
"dotenv": "16.5.0",
3232
"eslint": "8.23.1",
3333
"eslint-config-airbnb": "19.0.4",

0 commit comments

Comments
 (0)