diff --git a/packages/plugin-rsc/examples/basic/src/server.tsx b/packages/plugin-rsc/examples/basic/src/server.tsx index 49b39a442..9beac0a6c 100644 --- a/packages/plugin-rsc/examples/basic/src/server.tsx +++ b/packages/plugin-rsc/examples/basic/src/server.tsx @@ -10,6 +10,7 @@ export default async function handler(request: Request): Promise { const nonceMeta = nonce && const root = ( <> + {/* this `loadCss` only collects `styles.css` but not css inside dynamic import `root.tsx` */} {import.meta.viteRsc.loadCss()} {nonceMeta}