mirror of https://github.com/webpack/webpack.git
Pass shareScope through to ContainerPlugin & ContainerReferencePlugin
This commit is contained in:
parent
1132eb3f38
commit
1492735309
|
|
@ -65,6 +65,7 @@ class ModuleFederationPlugin {
|
|||
library,
|
||||
filename: options.filename,
|
||||
runtime: options.runtime,
|
||||
shareScope: options.shareScope,
|
||||
exposes: options.exposes
|
||||
}).apply(compiler);
|
||||
}
|
||||
|
|
@ -76,6 +77,7 @@ class ModuleFederationPlugin {
|
|||
) {
|
||||
new ContainerReferencePlugin({
|
||||
remoteType,
|
||||
shareScope: options.shareScope,
|
||||
remotes: options.remotes
|
||||
}).apply(compiler);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue