We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0bac6f commit 54d196eCopy full SHA for 54d196e
src/content/concepts/module-federation.mdx
@@ -12,6 +12,7 @@ contributors:
12
- KyleBastien
13
- Alevale
14
- burhanuday
15
+ - RexSkz
16
related:
17
- title: 'Webpack 5 Module Federation: A game-changer in JavaScript architecture'
18
url: https://medium.com/swlh/webpack-5-module-federation-a-game-changer-to-javascript-architecture-bcdd30e02669
@@ -187,9 +188,9 @@ module.exports = {
187
188
// we can now resolve this Promise
189
const proxy = {
190
get: (request) => window.app1.get(request),
- init: (arg) => {
191
+ init: (...arg) => {
192
try {
- return window.app1.init(arg)
193
+ return window.app1.init(...arg)
194
} catch(e) {
195
console.log('remote container already initialized')
196
}
0 commit comments