Skip to content

Commit b550b63

Browse files
authored
chore(rsc): comment (#599)
1 parent 87319bf commit b550b63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/plugin-rsc/examples/basic/src/server.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export default async function handler(request: Request): Promise<Response> {
1010
const nonceMeta = nonce && <meta property="csp-nonce" nonce={nonce} />
1111
const root = (
1212
<>
13+
{/* this `loadCss` only collects `styles.css` but not css inside dynamic import `root.tsx` */}
1314
{import.meta.viteRsc.loadCss()}
1415
{nonceMeta}
1516
<Root url={url} />

0 commit comments

Comments
 (0)