We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dbc8c3 commit da8729fCopy full SHA for da8729f
.changeset/quiet-ties-notice.md
@@ -0,0 +1,5 @@
1
+---
2
+'@module-federation/nextjs-mf': patch
3
4
+
5
+implement skipSharingNextInternals option again
packages/nextjs-mf/src/plugins/NextFederationPlugin/index.ts
@@ -140,7 +140,9 @@ export class NextFederationPlugin {
140
compiler: Compiler,
141
isServer: boolean,
142
): ModuleFederationPluginOptions {
143
- const defaultShared = retrieveDefaultShared(isServer);
+ const defaultShared = this._extraOptions.skipSharingNextInternals
144
+ ? {}
145
+ : retrieveDefaultShared(isServer);
146
const noop = this.getNoopPath();
147
return {
148
...this._options,
0 commit comments