We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 069ea2a commit 17185b1Copy full SHA for 17185b1
packages/plugin-rsc/src/plugin.ts
@@ -1263,12 +1263,14 @@ function vitePluginUseClient(
1263
const meta = manager.clientReferenceMetaMap[id]
1264
if (meta) {
1265
meta.renderedExports = mod.renderedExports
1266
- meta.serverChunk = normalizePath(
1267
- path.relative(
1268
- manager.config.root,
1269
- chunk.facadeModuleId ?? [...chunk.moduleIds].sort()[0]!,
1270
- ),
1271
- )
+ meta.serverChunk =
+ (chunk.facadeModuleId ? 'facade:' : 'non-facade:') +
+ normalizePath(
+ path.relative(
+ manager.config.root,
+ chunk.facadeModuleId ?? [...chunk.moduleIds].sort()[0]!,
1272
+ ),
1273
+ )
1274
}
1275
1276
0 commit comments