Skip to content

Commit

Permalink
fix: 138
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangHongEn committed Oct 5, 2024
1 parent 9142307 commit 9dd2060
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ function federation(mfUserOptions: ModuleFederationOptions): Plugin[] {
config.optimizeDeps?.include?.push('@module-federation/runtime');
config.optimizeDeps?.include?.push('__mf__virtual');
config.optimizeDeps?.needsInterop?.push('__mf__virtual');
config.optimizeDeps?.needsInterop?.push(getLocalSharedImportMapPath());
},
},
...pluginManifest(),
Expand Down

0 comments on commit 9dd2060

Please sign in to comment.