Skip to content

Conversation

sapphi-red
Copy link
Member

Description

So that the warning is not output.

refs vitejs/rolldown-vite#207

@sapphi-red
Copy link
Member Author

I noticed that I forgot the changelog. I added that.

@sapphi-red sapphi-red merged commit 4bec551 into main Jun 4, 2025
11 checks passed
@sapphi-red sapphi-red deleted the fix/use-optimizedeps-rollupoptions-for-rolldown-vite branch June 4, 2025 03:35
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Jun 14, 2025
| 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.
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Jun 22, 2025
| 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.
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Jul 5, 2025
| 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.
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Jul 5, 2025
| 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants