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.
1 parent 38bda69 commit b1511bfCopy full SHA for b1511bf
.changeset/lemon-files-care.md
@@ -0,0 +1,5 @@
1
+---
2
+"@react-router/dev": patch
3
4
+
5
+include root "react-dom" module for optimization
packages/react-router-dev/vite/plugin.ts
@@ -825,6 +825,7 @@ export const reactRouterVitePlugin: ReactRouterVitePlugin = (_config) => {
825
"react",
826
"react/jsx-runtime",
827
"react/jsx-dev-runtime",
828
+ "react-dom",
829
"react-dom/client",
830
831
// Pre-bundle router dependencies to avoid router duplicates.
0 commit comments