We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cdb1ea commit 971741aCopy full SHA for 971741a
packages/router-generator/src/plugin/default-generator-plugin.ts
@@ -97,9 +97,8 @@ export function defaultGeneratorPlugin(): GeneratorPluginWithTransform {
97
}
98
},
99
createRootRouteCode: () => `createRootRoute()`,
100
- createVirtualRouteCode: ({ node }) => {
101
- return `createFileRoute('${node.routePath}')()`
102
- },
+ createVirtualRouteCode: ({ node }) =>
+ `createFileRoute('${node.routePath}')()`,
103
config: ({ sortedRouteNodes }) => {
104
const hasMatchingRouteFiles = sortedRouteNodes.length > 0
105
return {
0 commit comments