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.
UserConfig.rsc: RscPluginOptions
1 parent 6e4dfa7 commit e6a5d52Copy full SHA for e6a5d52
packages/plugin-rsc/examples/starter-cf-single/vite.config.ts
@@ -55,4 +55,7 @@ export default defineConfig({
55
// https://github.com/cloudflare/workers-sdk/blob/19e2aab1d68594c7289d0aa16474544919fd5b9b/packages/vite-plugin-cloudflare/src/index.ts#L183-L186
56
buildApp: async () => {},
57
},
58
+ rsc: {
59
+ serverHandler: false,
60
+ },
61
})
packages/plugin-rsc/types/index.d.ts
@@ -16,4 +16,11 @@ declare global {
16
}
17
18
19
+declare module 'vite' {
20
+ interface UserConfig {
21
+ /** Options for `@vitejs/plugin-rsc` */
22
+ rsc?: import('@vitejs/plugin-rsc').RscPluginOptions
23
+ }
24
+}
25
+
26
export {}
0 commit comments