fix(web): share query-core in vinext development (#43269)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user