Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

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

huhupy519ef8b8c2d7
diff --git a/web/vite.config.ts b/web/vite.config.ts
index 2c4fd72b63b..b7983596d3a 100644
--- a/web/vite.config.ts
+++ b/web/vite.config.ts
@@ -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,