Resolve XyFlow styles for linked modules

This commit is contained in:
2026-07-28 15:47:15 +02:00
parent c31581b1b9
commit a46df85479

View File

@@ -91,7 +91,12 @@ export default defineConfig({
}, },
resolve: { resolve: {
preserveSymlinks: true, preserveSymlinks: true,
dedupe: ["react", "react-dom", "react-router-dom"], dedupe: [
"@xyflow/react",
"react",
"react-dom",
"react-router-dom"
],
alias: [ alias: [
{ find: "@govoplan/core-webui/app", replacement: fileURLToPath(new URL("./src/app.ts", import.meta.url)) }, { 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)) }, { find: "@govoplan/core-webui/definition-graph", replacement: fileURLToPath(new URL("./src/definitionGraph.ts", import.meta.url)) },