Skip to content

Commit

Permalink
Pass shareScope through to ContainerPlugin & ContainerReferencePlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Dower committed Jul 9, 2022
1 parent 1132eb3 commit b86ab83
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 b86ab83

Please sign in to comment.