diff --git a/micro-ui/web/packages/core/webpack.prod.js b/micro-ui/web/packages/core/webpack.prod.js index e455a535964..8f94dccab75 100644 --- a/micro-ui/web/packages/core/webpack.prod.js +++ b/micro-ui/web/packages/core/webpack.prod.js @@ -21,7 +21,7 @@ module.exports = () => { // dashboard: `dashboard@${domain}/dashboard/remoteEntry.js`, // hrms: `hrms@${domain}/hrms/remoteEntry.js`, // common: `common@${domain}/common/remoteEntry.js`, - workbench : `workbench-web@${domain}/workbench/remoteEntry.js`, + workbench : `workbench_web@${domain}/workbench/remoteEntry.js`, // dss : `dss@${domain}/dss/remoteEntry.js`, // measurement : `measurement@${domain}/measurement/remoteEntry.js` }, diff --git a/micro-ui/web/packages/workbench/webpack.prod.js b/micro-ui/web/packages/workbench/webpack.prod.js index e44db134c30..5618a7e9328 100644 --- a/micro-ui/web/packages/workbench/webpack.prod.js +++ b/micro-ui/web/packages/workbench/webpack.prod.js @@ -7,12 +7,12 @@ module.exports = () => { const prodConfig = { mode: "production", output: { - publicPath: "workbench-web", + publicPath: "workbench_web", filename: "[name].[contenthash].js", }, plugins: [ new ModuleFederationPlugin({ - name: "workbench-web", + name: "workbench_web", filename: "remoteEntry.js", exposes: { "./WorkbenchModule": "./src/SingleSpaEntry",