Skip to content

Commit

Permalink
fix(react): fixes library type not passed to the module federation co…
Browse files Browse the repository at this point in the history
…nf (#15385)
  • Loading branch information
infoxicator committed Mar 2, 2023
1 parent 66f498a commit c054251
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -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,
Expand Down

0 comments on commit c054251

Please sign in to comment.