fix(server): 避免 SSR 导入 *.client 模块导致构建失败

This commit is contained in:
2026-02-26 12:09:45 +08:00
parent 0553347bfe
commit 5ccde0a121
3 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
import { createTanstackQueryUtils } from '@orpc/tanstack-query'
import { orpc as orpcClient } from './orpc.client'
import { orpc as orpcClient } from './orpc'
export const orpc = createTanstackQueryUtils(orpcClient, {
experimental_defaults: {