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 f373111 commit 193d4e9Copy full SHA for 193d4e9
packages/react-pages/src/node/index.ts
@@ -75,6 +75,8 @@ function pluginFactory(opts: PluginConfig = {}): Plugin {
75
optimizeDeps: {
76
include: [
77
'react',
78
+ // fix https://github.com/vitejs/vite-plugin-react-pages/issues/132#issuecomment-1536515395
79
+ 'react/jsx-runtime',
80
'react-dom',
81
'react-dom/client',
82
'react-router-dom',
0 commit comments