Skip to content

Commit

Permalink
updated webpack conf
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunarora-eGov committed Mar 15, 2024
1 parent 407e47d commit f6f53c6
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
2 changes: 1 addition & 1 deletion micro-ui/web/packages/AttendenceMgmt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"react-router-dom": "5.3.0"
},
"dependencies": {
"@egovernments/digit-ui-react-components": "^1.4.108",
"@egovernments/digit-ui-react-components": "1.4.108",
"react": "17.0.2",
"react-date-range": "^1.4.0",
"react-dom": "17.0.2",
Expand Down
3 changes: 1 addition & 2 deletions micro-ui/web/packages/workbench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"predeploy": "yarn build",
"deploy": "gh-pages -d dist",
"start": "webpack serve --config webpack.dev.js",
"build": "webpack --config webpack.dev.js",
"build": "webpack --config webpack.prod.js",
"build:dev": "webpack --config webpack.dev.js --mode development"
},
"homepage": "http://design-egov.github.io/auth",
Expand Down Expand Up @@ -46,7 +46,6 @@
"xlsx": "0.17.5",
"@digit-ui/digit-ui-libraries-mfe": "1.0.6",
"@egovernments/digit-ui-react-components":"1.4.108",
"@egovernments/digit-ui-svg-components":"1.0.0",
"@rjsf/core": "5.10.0",
"@rjsf/utils": "5.10.0",
"@rjsf/validator-ajv8": "5.10.0",
Expand Down
21 changes: 20 additions & 1 deletion micro-ui/web/packages/workbench/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,26 @@ module.exports = () => {
exposes: {
"./WorkbenchModule": "./src/SingleSpaEntry",
},
shared: packageJson.dependencies
shared: {
"single-spa-react": "^4.6.1",
"xlsx": "0.17.5",
"@egovernments/digit-ui-react-components":"1.4.108",
"@rjsf/core": "5.10.0",
"@rjsf/utils": "5.10.0",
"@rjsf/validator-ajv8": "5.10.0",
"react": "17.0.2",
"react-date-range": "1.4.0",
"react-dom": "17.0.2",
"react-hook-form": "6.15.8",
"react-i18next": "11.16.2",
"react-query": "3.6.1",
"react-router-dom": "5.3.0",
"react-select": "5.7.4",
"webpack": "^5.68.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.8.1",
"webpack-merge": "5.7.3",
}
}),
],
};
Expand Down

0 comments on commit f6f53c6

Please sign in to comment.