Skip to content

Commit

Permalink
Merge pull request #16031 from evantd/main
Browse files Browse the repository at this point in the history
Pass shareScope through to ContainerPlugin & ContainerReferencePlugin
  • Loading branch information
sokra committed Jul 25, 2022
2 parents 52351a6 + 1492735 commit 6dc6a19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/container/ModuleFederationPlugin.js
Expand Up @@ -65,6 +65,7 @@ class ModuleFederationPlugin {
library,
filename: options.filename,
runtime: options.runtime,
shareScope: options.shareScope,
exposes: options.exposes
}).apply(compiler);
}
Expand All @@ -76,6 +77,7 @@ class ModuleFederationPlugin {
) {
new ContainerReferencePlugin({
remoteType,
shareScope: options.shareScope,
remotes: options.remotes
}).apply(compiler);
}
Expand Down

0 comments on commit 6dc6a19

Please sign in to comment.