Skip to content

Commit 69b9820

Browse files
committed
fix: compatible for multiple page of nextjs
1 parent 62db64c commit 69b9820

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/core/src/server/use-client.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,6 @@ function recordEntry(record: RecordInfo, file: string, isNextjs: boolean) {
243243
if (file.includes('/.svelte-kit/')) {
244244
return;
245245
}
246-
// exclude nextjs layout entry
247-
if (file.replace(path.extname(file), '').endsWith('/app/layout')) {
248-
return;
249-
}
250246
setProjectRecord(record, 'entry', getFilePathWithoutExt(file));
251247
}
252248
}

0 commit comments

Comments
 (0)