fix(web): share query-core in vinext development (#43269)

This commit is contained in:
huhupy
2026-10-06 14:04:30 +00:00
committed by GitHub
parent 0cd3824608
commit 519ef8b8c2

View File

@@ -82,7 +82,8 @@ export default defineConfig(({ command, mode, isPreview }) => {
...(!isTest && !isStorybook
? {
optimizeDeps: {
exclude: ['@tanstack/react-query'],
// Keep skipToken shared by the unbundled React Query and oRPC clients.
exclude: ['@tanstack/react-query', '@tanstack/query-core'],
},
server: {
port: 3000,