Skip to content

Commit f9357e7

Browse files
committed
chore: tweak
1 parent 64974b6 commit f9357e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/rsc/examples/basic/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export default { fetch: handler };
178178
const vendorChunks: Rollup.OutputChunk[] = [];
179179
for (const chunk of Object.values(bundle)) {
180180
if (chunk.type === "chunk") {
181-
if (chunk.name === "index") {
181+
if (chunk.facadeModuleId?.endsWith("/src/client.tsx")) {
182182
entryChunks.push(chunk);
183183
} else if (chunk.name === "lib-react") {
184184
vendorChunks.push(chunk);

0 commit comments

Comments
 (0)