Skip to content

Commit

Permalink
Mf nabeel (#164)
Browse files Browse the repository at this point in the history
* fixing workbench deployement

* Workbench webpack changes

---------

Co-authored-by: nabeelmd-eGov <[email protected]>
  • Loading branch information
nabeelmd-eGov and nabeelmd-eGov authored Feb 27, 2024
1 parent c98a731 commit 95f3e70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion micro-ui/web/packages/core/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`
},
Expand Down
4 changes: 2 additions & 2 deletions micro-ui/web/packages/workbench/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 95f3e70

Please sign in to comment.