Bridge legacy WebUI router imports
This commit is contained in:
@@ -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)) },
|
||||
|
||||
Reference in New Issue
Block a user