Skip to content

Commit

Permalink
chore(rsc): Fix console log and add todo (#11685)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored Oct 8, 2024
1 parent 003ec56 commit 02341ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/router/src/rsc/clientSsr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ function resolveClientEntryForProd(
const filePathSlash = filePath.replaceAll('\\', '/')
const clientEntry = absoluteClientEntries[filePathSlash]

console.log('resolveClientEntryForProd during SSR - filePath', clientEntry)
console.log('resolveClientEntryForProd during SSR - clientEntry', clientEntry)

if (!clientEntry) {
// TODO (RSC): Is this ever used?
if (absoluteClientEntries['*'] === '*') {
return basePath + path.relative(getPaths().base, filePathSlash)
}
Expand Down

0 comments on commit 02341ce

Please sign in to comment.