Skip to content

Commit

Permalink
chore(route-manifest): Add relativeFilePath to route manifest (#10416)
Browse files Browse the repository at this point in the history
  • Loading branch information
dac09 authored Apr 4, 2024
1 parent 61ac910 commit 23c74ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/internal/src/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ export interface RWRouteManifestItem {
routeHooks: string | null
bundle: string | null
hasParams: boolean
relativeFilePath: string | undefined
redirect: { to: string; permanent: boolean } | null
renderMode: 'html' | 'stream'
// Probably want isNotFound here, so we can attach a separate 404 handler
}

Expand Down
2 changes: 1 addition & 1 deletion packages/vite/src/buildRouteManifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export async function buildRouteManifest() {
permanent: false,
}
: null,
renderMode: route.renderMode,
relativeFilePath: route.relativeFilePath,
}

return acc
Expand Down

0 comments on commit 23c74ca

Please sign in to comment.