Skip to content

Commit 39a19bc

Browse files
committed
fix(start-client-core): restore original #tanstack-* import order in hydrateStart.ts
Virtual module imports (#tanstack-*) resolve as internal (rank 2), not unknown. They must appear before sibling imports, not after. Reverts mistaken reorder.
1 parent 797ac09 commit 39a19bc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/start-client-core/src/client/hydrateStart.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { hydrate } from '@tanstack/router-core/ssr/client'
22

3-
import { ServerFunctionSerializationAdapter } from './ServerFunctionSerializationAdapter'
4-
import type { AnyRouter, AnySerializationAdapter } from '@tanstack/router-core'
5-
import type { AnyStartInstanceOptions } from '../createStart'
63
import { startInstance } from '#tanstack-start-entry'
74
import {
85
hasPluginAdapters,
96
pluginSerializationAdapters,
107
} from '#tanstack-start-plugin-adapters'
118
import { getRouter } from '#tanstack-router-entry'
9+
import { ServerFunctionSerializationAdapter } from './ServerFunctionSerializationAdapter'
10+
import type { AnyRouter, AnySerializationAdapter } from '@tanstack/router-core'
11+
import type { AnyStartInstanceOptions } from '../createStart'
1212

1313
export async function hydrateStart(): Promise<AnyRouter> {
1414
const router = await getRouter()

0 commit comments

Comments
 (0)