fix(react): fixes library type not passed to the module federation conf (#15385)
This commit is contained in:
parent
66f498ac8a
commit
c05425104e
@ -51,9 +51,7 @@ export async function withModuleFederation(
|
||||
config.plugins.push(
|
||||
new ModuleFederationPlugin({
|
||||
name: options.name,
|
||||
library: {
|
||||
type: 'module',
|
||||
},
|
||||
library: options.library ?? { type: 'module' },
|
||||
filename: 'remoteEntry.js',
|
||||
exposes: options.exposes,
|
||||
remotes: mappedRemotes,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user