We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
reactRefreshHost
1 parent c7bc716 commit d431680Copy full SHA for d431680
2 files changed
packages/plugin-react/CHANGELOG.md
@@ -2,6 +2,8 @@
2
3
## Unreleased
4
5
+### Fix `reactRefreshHost` option on rolldown-vite ([#716](https://github.com/vitejs/vite-plugin-react/pull/716))
6
+
7
### Fix `RefreshRuntime` being injected twice for class components on rolldown-vite ([#708](https://github.com/vitejs/vite-plugin-react/pull/708))
8
9
### Skip `babel-plugin-react-compiler` on non client environment ([689](https://github.com/vitejs/vite-plugin-react/pull/689))
packages/plugin-react/src/index.ts
@@ -369,6 +369,7 @@ export default function viteReact(opts: Options = {}): Plugin[] {
369
avoidSourceMapOption,
370
'@vitejs/plugin-react',
371
id,
372
+ opts.reactRefreshHost,
373
)
374
return { code: newCode, map: null }
375
},
0 commit comments