diff --git a/webui/vite.config.ts b/webui/vite.config.ts index e32cd09..5f310c1 100644 --- a/webui/vite.config.ts +++ b/webui/vite.config.ts @@ -91,7 +91,12 @@ export default defineConfig({ }, resolve: { preserveSymlinks: true, - dedupe: ["react", "react-dom", "react-router-dom"], + dedupe: [ + "@xyflow/react", + "react", + "react-dom", + "react-router-dom" + ], alias: [ { find: "@govoplan/core-webui/app", replacement: fileURLToPath(new URL("./src/app.ts", import.meta.url)) }, { find: "@govoplan/core-webui/definition-graph", replacement: fileURLToPath(new URL("./src/definitionGraph.ts", import.meta.url)) },