File tree Expand file tree Collapse file tree 2 files changed +2
-25
lines changed
Expand file tree Collapse file tree 2 files changed +2
-25
lines changed Original file line number Diff line number Diff line change @@ -205,8 +205,8 @@ export type RscPluginOptions = {
205205 useBuildAppHook ?: boolean
206206
207207 /**
208- * Skip the default buildApp orchestration and expose utilities on `builder.rsc`
209- * for downstream frameworks to implement custom build pipelines.
208+ * Skip the default buildApp orchestration for downstream frameworks
209+ * to implement custom build pipelines using `getPluginApi()` .
210210 * @experimental
211211 * @default false
212212 */
@@ -431,17 +431,6 @@ export default function vitePluginRsc(
431431 let hasReactServerDomWebpack = false
432432
433433 return [
434- {
435- name : 'rsc:builder-api' ,
436- buildApp : {
437- order : 'pre' as const ,
438- async handler ( builder ) {
439- builder . rsc = {
440- manager,
441- }
442- } ,
443- } ,
444- } ,
445434 {
446435 name : 'rsc' ,
447436 async config ( config , env ) {
Original file line number Diff line number Diff line change @@ -17,18 +17,6 @@ declare module 'vite' {
1717 /** Options for `@vitejs/plugin-rsc` */
1818 rsc ?: import ( '@vitejs/plugin-rsc' ) . RscPluginOptions
1919 }
20-
21- interface ViteBuilder {
22- /**
23- * RSC plugin API exposed for custom build pipelines.
24- * Available when using `rsc({ customBuildApp: true })`.
25- * @experimental
26- */
27- rsc : {
28- /** Access to internal RscPluginManager for controlling build phases */
29- manager : import ( '@vitejs/plugin-rsc' ) . RscPluginManager
30- }
31- }
3220}
3321
3422export { }
You can’t perform that action at this time.
0 commit comments