chore: consolidate platform split checks
This commit is contained in:
@@ -15,8 +15,11 @@ const defaultWebModulePackages = [
|
||||
"@govoplan/admin-webui",
|
||||
"@govoplan/calendar-webui",
|
||||
"@govoplan/campaign-webui",
|
||||
"@govoplan/dashboard-webui",
|
||||
"@govoplan/docs-webui",
|
||||
"@govoplan/files-webui",
|
||||
"@govoplan/mail-webui"
|
||||
"@govoplan/mail-webui",
|
||||
"@govoplan/ops-webui"
|
||||
];
|
||||
|
||||
function configuredWebModulePackages(): string[] {
|
||||
@@ -68,6 +71,11 @@ export default defineConfig({
|
||||
optimizeDeps: {
|
||||
exclude: availableWebModuleSpecifiers()
|
||||
},
|
||||
build: {
|
||||
// Full-product builds include the host shell plus all installed module wiring.
|
||||
// Dedicated route/vendor splitting belongs in a separate performance pass.
|
||||
chunkSizeWarningLimit: 1200
|
||||
},
|
||||
resolve: {
|
||||
preserveSymlinks: true,
|
||||
dedupe: ["react", "react-dom", "react-router-dom"],
|
||||
@@ -83,9 +91,12 @@ export default defineConfig({
|
||||
fileURLToPath(new URL('../../govoplan-access/webui', import.meta.url)),
|
||||
fileURLToPath(new URL('../../govoplan-admin/webui', import.meta.url)),
|
||||
fileURLToPath(new URL('../../govoplan-calendar/webui', import.meta.url)),
|
||||
fileURLToPath(new URL('../../govoplan-dashboard/webui', import.meta.url)),
|
||||
fileURLToPath(new URL('../../govoplan-docs/webui', import.meta.url)),
|
||||
fileURLToPath(new URL('../../govoplan-files/webui', import.meta.url)),
|
||||
fileURLToPath(new URL('../../govoplan-mail/webui', import.meta.url)),
|
||||
fileURLToPath(new URL('../../govoplan-campaign/webui', import.meta.url))
|
||||
fileURLToPath(new URL('../../govoplan-campaign/webui', import.meta.url)),
|
||||
fileURLToPath(new URL('../../govoplan-ops/webui', import.meta.url))
|
||||
]
|
||||
},
|
||||
proxy: {
|
||||
|
||||
Reference in New Issue
Block a user