diff --git a/micro-ui/web/packages/core/src/modules/registerRemotes.js b/micro-ui/web/packages/core/src/modules/registerRemotes.js index 4394aa7d7a0..2b93ca1c0b1 100644 --- a/micro-ui/web/packages/core/src/modules/registerRemotes.js +++ b/micro-ui/web/packages/core/src/modules/registerRemotes.js @@ -6,15 +6,15 @@ import { registerApplication,start } from "single-spa"; export default (queryClient) => { - registerApplication({ - name: "Workbench", - app: () => import("workbench/WorkbenchModule"), - activeWhen: "/workbench-ui/employee/workbench", - customProps: { - title: "Workbench is running on host", - queryClient, - }, - }); + // registerApplication({ + // name: "Workbench", + // app: () => import("workbench/WorkbenchModule"), + // activeWhen: "/workbench-ui/employee/workbench", + // customProps: { + // title: "Workbench is running on host", + // queryClient, + // }, + // }); // registerApplication({ // name: "app1", @@ -26,6 +26,6 @@ export default (queryClient) => { // }, // }); - start(); + // start(); } diff --git a/micro-ui/web/packages/core/webpack.dev.js b/micro-ui/web/packages/core/webpack.dev.js index 3a5ffad58e4..894a5cf736f 100644 --- a/micro-ui/web/packages/core/webpack.dev.js +++ b/micro-ui/web/packages/core/webpack.dev.js @@ -44,7 +44,7 @@ module.exports = () => { // header: "header@http://localhost:8083/remoteEntry.js", // dashboard: "dashboard@http://localhost:8084/remoteEntry.js", // hrms: "hrms@https://localhost:8085/remoteEntry.js", - workbench: "workbench@https://localhost:8086/remoteEntry.js", + // workbench: "workbench@https://localhost:8086/remoteEntry.js", // app1: "app1@https://localhost:8001/remoteEntry.js", // dss: "dss@https://localhost:8087/remoteEntry.js", // measurement : "measurement@https://localhost:8088/remoteEntry.js" diff --git a/micro-ui/web/packages/core/webpack.prod.js b/micro-ui/web/packages/core/webpack.prod.js index bfb207c7302..27546fd4629 100644 --- a/micro-ui/web/packages/core/webpack.prod.js +++ b/micro-ui/web/packages/core/webpack.prod.js @@ -9,7 +9,7 @@ module.exports = () => { const prodConfig = { mode: "production", output: { - publicPath: "auto" + publicPath: "/core-digit-ui/" }, plugins: [ new ModuleFederationPlugin({ @@ -20,7 +20,7 @@ module.exports = () => { // header: `header@${domain}/header/remoteEntry.js`, // dashboard: `dashboard@${domain}/dashboard/remoteEntry.js`, // hrms: `hrms@${domain}/hrms/remoteEntry.js`, - workbench : `workbench@${domain}/workbench/remoteEntry.js`, + // workbench : `workbench@${domain}/workbench/remoteEntry.js`, // dss : `dss@${domain}/dss/remoteEntry.js`, // measurement : `measurement@${domain}/measurement/remoteEntry.js` },