diff --git a/.DS_Store b/.DS_Store index 50b9c865872..8cabc135127 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/micro-ui/web/packages/core/src/modules/registerRemotes.js b/micro-ui/web/packages/core/src/modules/registerRemotes.js index 57ade3e55ae..68799378c20 100644 --- a/micro-ui/web/packages/core/src/modules/registerRemotes.js +++ b/micro-ui/web/packages/core/src/modules/registerRemotes.js @@ -9,50 +9,50 @@ export default (queryClient) => { const userType = Digit.UserService.getType(); - registerApplication({ - name: "Workbench", - app: () => import("workbench/WorkbenchModule"), - activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/workbench`, - customProps: { - title: "Workbench is running on host", - queryClient, - userType - }, - }); + // registerApplication({ + // name: "Workbench", + // app: () => import("workbench/WorkbenchModule"), + // activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/workbench`, + // customProps: { + // title: "Workbench is running on host", + // queryClient, + // userType + // }, + // }); - registerApplication({ - name: "Common", - app: () => import("common/CommonModule"), - activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/${userType}/common`, //change to userType here - customProps: { - title: "Common Module is running on host", - queryClient, - userType - }, - }); + // registerApplication({ + // name: "Common", + // app: () => import("common/CommonModule"), + // activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/${userType}/common`, //change to userType here + // customProps: { + // title: "Common Module is running on host", + // queryClient, + // userType + // }, + // }); - registerApplication({ - name: "PGR", - app: () => import("pgr/PGRModule"), - activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/pgr`, - customProps: { - title: "PGR is running on host", - queryClient, - userType - }, - }); + // registerApplication({ + // name: "PGR", + // app: () => import("pgr/PGRModule"), + // activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/pgr`, + // customProps: { + // title: "PGR is running on host", + // queryClient, + // userType + // }, + // }); - registerApplication({ - name: "Dss", - app: () => import("dss/DSSModule"), - activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/dss`, - customProps: { - title: "DSS is running on host", - queryClient, - userType - }, - }); + // registerApplication({ + // name: "Dss", + // app: () => import("dss/DSSModule"), + // activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/dss`, + // customProps: { + // title: "DSS is running on host", + // queryClient, + // userType + // }, + // }); registerApplication({ name: "HRMS", diff --git a/micro-ui/web/packages/core/webpack.prod.js b/micro-ui/web/packages/core/webpack.prod.js index d0b32fe3189..1b693896618 100644 --- a/micro-ui/web/packages/core/webpack.prod.js +++ b/micro-ui/web/packages/core/webpack.prod.js @@ -20,10 +20,10 @@ module.exports = () => { // header: `header@${domain}/header/remoteEntry.js`, // dashboard: `dashboard@${domain}/dashboard/remoteEntry.js`, hrms: `hrms@${domain}/hrms-ui/remoteEntry.js`, - common: `common@${domain}/common-ui/remoteEntry.js`, - pgr: `pgr@${domain}/pgr-ui/remoteEntry.js`, - workbench : `workbench@${domain}/workbench-mfe/remoteEntry.js`, - dss : `dss@${domain}/dss-ui/remoteEntry.js`, + // common: `common@${domain}/common-ui/remoteEntry.js`, + // pgr: `pgr@${domain}/pgr-ui/remoteEntry.js`, + // workbench : `workbench@${domain}/workbench-mfe/remoteEntry.js`, + // dss : `dss@${domain}/dss-ui/remoteEntry.js`, // measurement : `measurement@${domain}/measurement/remoteEntry.js` }, shared: packageJson.dependencies,