Resolve XyFlow styles for linked modules
This commit is contained in:
@@ -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)) },
|
||||
|
||||
Reference in New Issue
Block a user