add SignDocument microfrontend

This commit is contained in:
prafullnavkar-nxg
2023-10-27 21:21:46 +05:30
parent 71001efb93
commit 9b6b5dbe71
69 changed files with 35235 additions and 17 deletions
@@ -0,0 +1,29 @@
const { dependencies } = require("./package.json");
module.exports = {
name: "signmicroapp", // change me
filename: "remoteEntry.js",
exposes: {
// key e.g"./AppRoutes" is path which will use as moduletoload in host app
// value e.g"./src/Routes" is path which will as a bind path to load
"./AppRoutes": "./src/Routes",
},
shared: {
...dependencies,
react: {
singleton: true,
import: "react", // fallback is also react
shareScope: "default",
requiredVersion: dependencies.react,
},
"react-dom": {
singleton: true,
requiredVersion: dependencies["react-dom"],
},
"react-router-dom": {
singleton: true,
requiredVersion: dependencies["react-router-dom"],
},
},
};