File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -124,9 +124,6 @@ export type RscPluginOptions = {
124124 */
125125 entries ?: Partial < Record < 'client' | 'ssr' | 'rsc' , string > >
126126
127- /** @deprecated use `serverHandler: false` */
128- disableServerHandler ?: boolean
129-
130127 /** @default { enviornmentName: "rsc", entryName: "index" } */
131128 serverHandler ?:
132129 | {
@@ -502,7 +499,6 @@ export default function vitePluginRsc(
502499 return oldSend . apply ( this , args as any )
503500 }
504501
505- if ( rscPluginOptions . disableServerHandler ) return
506502 if ( rscPluginOptions . serverHandler === false ) return
507503 const options = rscPluginOptions . serverHandler ?? {
508504 environmentName : 'rsc' ,
@@ -539,7 +535,6 @@ export default function vitePluginRsc(
539535 }
540536 } ,
541537 async configurePreviewServer ( server ) {
542- if ( rscPluginOptions . disableServerHandler ) return
543538 if ( rscPluginOptions . serverHandler === false ) return
544539 const options = rscPluginOptions . serverHandler ?? {
545540 environmentName : 'rsc' ,
You can’t perform that action at this time.
0 commit comments