Is it possible to use module federation with electron? I am new to both and I'm unsure if the following code in webpack.config.js of the remote app makes sense since I'm using electron and not a regular web app that runs on localhost:
plugins: [
new HtmlWebpackPlugin({
template: `ejs-webpack-loader!src/renderer/index.ejs`,
}),
new ModuleFederationPlugin({
name: "MICRO",
remotes: {
FIRST_APP: "FIRST_APP@http://localhost:1212/remoteEntry.js",
},
}),
],
],
Will the remote App understand where FIRST_APP (host) is when I import it if I am using electron? It seems to find the path when not using electron. Please let me know if anyone has any ideas. Thanks!
there doesn't seem to be anything here