Skip to content

Releases: vitejs/vite-plugin-react

[email protected]

14 Jul 01:29
Compare
Choose a tag to compare

Please refer to CHANGELOG.md for details.

[email protected]

23 Jun 03:29
[email protected]
12bd153
Compare
Choose a tag to compare

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.

[email protected]

16 Jun 01:40
[email protected]
0704fc0
Compare
Choose a tag to compare

Disable refresh transform when server.hmr: false is set #502

This fixes "$RefreshReg$ is not defined" error when running Vitest with the plugin.

[email protected]

10 Jun 01:27
[email protected]
bfb45ad
Compare
Choose a tag to compare

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: false 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.

[email protected]

10 Jun 01:28
[email protected]
32d49ec
Compare
Choose a tag to compare

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: false 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.

[email protected]

10 Jun 01:28
[email protected]
8a91260
Compare
Choose a tag to compare

Add Vite 7-beta to peerDependencies range #497

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

[email protected]

03 Jun 03:25
[email protected]
2f32052
Compare
Choose a tag to compare

Add explicit semicolon in preambleCode #485

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

[email protected]

03 Jun 03:27
[email protected]
8ce7183
Compare
Choose a tag to compare

Add explicit semicolon in preambleCode #485

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

[email protected]

03 Jun 03:27
[email protected]
c7124fb
Compare
Choose a tag to compare

Add explicit semicolon in preambleCode #485

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

[email protected]

23 May 00:34
[email protected]
476e705
Compare
Choose a tag to compare

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.