feat: strengthen module contracts and shared WebUI runtime
This commit is contained in:
@@ -28,6 +28,7 @@ const defaultWebModulePackages = [
|
||||
"@govoplan/organizations-webui",
|
||||
"@govoplan/ops-webui",
|
||||
"@govoplan/policy-webui",
|
||||
"@govoplan/postbox-webui",
|
||||
"@govoplan/scheduling-webui",
|
||||
"@govoplan/views-webui",
|
||||
"@govoplan/workflow-webui"
|
||||
@@ -91,12 +92,14 @@ export default defineConfig({
|
||||
chunkSizeWarningLimit: 1200
|
||||
},
|
||||
resolve: {
|
||||
preserveSymlinks: true,
|
||||
preserveSymlinks: false,
|
||||
dedupe: [
|
||||
"@xyflow/react",
|
||||
"lucide-react",
|
||||
"react",
|
||||
"react-dom",
|
||||
"react-router-dom"
|
||||
"react-router-dom",
|
||||
"read-excel-file"
|
||||
],
|
||||
alias: [
|
||||
{ find: "@govoplan/core-webui/app", replacement: fileURLToPath(new URL("./src/app.ts", import.meta.url)) },
|
||||
@@ -125,6 +128,7 @@ export default defineConfig({
|
||||
fileURLToPath(new URL('../../govoplan-campaign/webui', import.meta.url)),
|
||||
fileURLToPath(new URL('../../govoplan-ops/webui', import.meta.url)),
|
||||
fileURLToPath(new URL('../../govoplan-policy/webui', import.meta.url)),
|
||||
fileURLToPath(new URL('../../govoplan-postbox/webui', import.meta.url)),
|
||||
fileURLToPath(new URL('../../govoplan-scheduling/webui', import.meta.url)),
|
||||
fileURLToPath(new URL('../../govoplan-views/webui', import.meta.url)),
|
||||
fileURLToPath(new URL('../../govoplan-workflow/webui', import.meta.url))
|
||||
|
||||
Reference in New Issue
Block a user