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 787f7b2 commit b34c086Copy full SHA for b34c086
packages/plugin-rsc/examples/react-router/cf/vite.config.ts
@@ -46,9 +46,6 @@ export default defineConfig((env) => ({
46
noExternal: true,
47
}
48
: undefined,
49
- // optimizeDeps: {
50
- // exclude: ['react-router'],
51
- // },
52
},
53
rsc: {
54
optimizeDeps: {
packages/plugin-rsc/examples/react-router/react-router-vite/entry.rsc.tsx
@@ -10,7 +10,6 @@ import { unstable_matchRSCServerRequest as matchRSCServerRequest } from 'react-r
10
import { routes } from '../app/routes'
11
12
export default async function handler(request: Request) {
13
- // Import the generateHTML function from the client environment
14
const ssr = await import.meta.viteRsc.loadModule<
15
typeof import('./entry.ssr')
16
>('ssr', 'index')
0 commit comments