Skip to content

Releases: vitejs/vite-plugin-react

[email protected]

23 May 00:34
[email protected]
dcadcfc
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 preamble in Vitest browser mode #478

This was causing annoying Sourcemap for "/@react-refresh" points to missing source files and is unnecessary in test mode.

Skip HMR for JSX files with hooks #480

This removes the HMR warning for hooks with JSX.

[email protected]

23 May 00:34
[email protected]
2e69ea4
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.

[email protected]

19 Apr 12:11
Compare
Choose a tag to compare

Fix type issue when using moduleResolution: "node" in tsconfig #462

[email protected]

15 Apr 09:22
[email protected]
8beda4f
Compare
Choose a tag to compare

Make compatible with rolldown-vite

This plugin is now compatible with rolldown-powered version of Vite.
Note that currently the __source property value position might be incorrect. This will be fixed in the near future.

[email protected]

15 Apr 09:22
[email protected]
4a94448
Compare
Choose a tag to compare

Make compatible with rolldown-vite

This plugin is now compatible with rolldown-powered version of Vite.

[email protected]

15 Apr 04:02
[email protected]
c197fd9
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Add reactRefreshHost option

Add reactRefreshHost option to set a React Fast Refresh runtime URL prefix.
This is useful in a module federation context to enable HMR by specifying the host application URL in the Vite config of a remote application.
See full discussion here: module-federation/vite#183 (comment)

export default defineConfig({
  plugins: [react({ reactRefreshHost: 'http://localhost:3000' })],
})

[email protected]

15 Apr 04:06
[email protected]
ae2ed7b
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Add reactRefreshHost option

Add reactRefreshHost option to set a React Fast Refresh runtime URL prefix.
This is useful in a module federation context to enable HMR by specifying the host application URL in the Vite config of a remote application.
See full discussion here: module-federation/vite#183 (comment)

export default defineConfig({
  plugins: [react({ reactRefreshHost: 'http://localhost:3000' })],
})

[email protected]

10 Apr 09:59
[email protected]
9bde677
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release
[email protected]

[email protected]

09 Apr 10:41
[email protected]
da01d56
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release
[email protected]

[email protected]

09 Apr 10:48
[email protected]
c02385d
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release
[email protected]