diff --git a/micro-ui/web/packages/core/src/modules/registerRemotes.js b/micro-ui/web/packages/core/src/modules/registerRemotes.js index b75cdf4dcda..8249d2fb0fd 100644 --- a/micro-ui/web/packages/core/src/modules/registerRemotes.js +++ b/micro-ui/web/packages/core/src/modules/registerRemotes.js @@ -21,38 +21,38 @@ export default (queryClient) => { // }); - // registerApplication({ - // name: "Common", - // app: () => import("common/CommonModule"), - // activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/${userType}/payment`, //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}/payment`, //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 1b693896618..67520fd4ede 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`, + 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`, + dss : `dss@${domain}/dss-ui/remoteEntry.js`, // measurement : `measurement@${domain}/measurement/remoteEntry.js` }, shared: packageJson.dependencies,