We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64974b6 commit f9357e7Copy full SHA for f9357e7
1 file changed
packages/rsc/examples/basic/vite.config.ts
@@ -178,7 +178,7 @@ export default { fetch: handler };
178
const vendorChunks: Rollup.OutputChunk[] = [];
179
for (const chunk of Object.values(bundle)) {
180
if (chunk.type === "chunk") {
181
- if (chunk.name === "index") {
+ if (chunk.facadeModuleId?.endsWith("/src/client.tsx")) {
182
entryChunks.push(chunk);
183
} else if (chunk.name === "lib-react") {
184
vendorChunks.push(chunk);
0 commit comments