Skip to content

Commit 9f5107b

Browse files
committed
tweak
1 parent 40cd4e1 commit 9f5107b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/plugin-rsc/src/plugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export type RscPluginOptions = {
198198
/** client reference module id */
199199
id: string
200200
/** normalized client reference module id */
201-
relativeId: string
201+
normalizedId: string
202202
/** server chunk which includes a corresponding client reference proxy module */
203203
serverChunk: string
204204
}) => string | undefined
@@ -1193,7 +1193,7 @@ function vitePluginUseClient(
11931193
let name =
11941194
useClientPluginOptions.clientChunks?.({
11951195
id: meta.importId,
1196-
relativeId: manager.toRelativeId(meta.importId),
1196+
normalizedId: manager.toRelativeId(meta.importId),
11971197
serverChunk: meta.serverChunk!,
11981198
}) ?? meta.serverChunk!
11991199
// ensure clean virtual id to avoid interfering with other plugins

0 commit comments

Comments
 (0)