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 82f45aa commit 3536062Copy full SHA for 3536062
1 file changed
packages/plugin-rsc/src/plugin.ts
@@ -1060,7 +1060,7 @@ export function createRpcClient(params) {
1060
1061
const assetDeps = collectAssetDeps(bundle)
1062
const entry = Object.values(assetDeps).find(
1063
- (v) => v.chunk.name === 'index',
+ (v) => v.chunk.name === 'index' && v.chunk.isEntry,
1064
)
1065
assert(entry)
1066
const entryUrl = assetsURL(entry.chunk.fileName, manager)
0 commit comments