Bridge legacy WebUI router imports

This commit is contained in:
2026-08-03 03:59:08 +02:00
parent 01f91154e0
commit 5bfbe9a887
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -230,6 +230,9 @@ export default defineConfig({
"read-excel-file"
],
alias: [
// Tagged 0.1.x module sources used react-router-dom before the platform
// standardized on the package-neutral React Router 8 entry point.
{ find: "react-router-dom", replacement: "react-router" },
{ 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/wysiwyg", replacement: fileURLToPath(new URL("./src/wysiwyg.ts", import.meta.url)) },