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 83ae9bc commit 0718859Copy full SHA for 0718859
1 file changed
packages/nextjs-mf/src/plugins/NextFederationPlugin/index.ts
@@ -251,9 +251,10 @@ export class NextFederationPlugin {
251
...defaultShared,
252
...this._options.shared,
253
},
254
- ...(isServer
255
- ? { manifest: { filePath: '' } }
256
- : { manifest: { filePath: '/static/chunks' } }),
+ manifest: {
+ ...(this._options.manifest ?? {}),
+ filePath: isServer ? '' : '/static/chunks',
257
+ },
258
// nextjs project needs to add config.watchOptions = ['**/node_modules/**', '**/@mf-types/**'] to prevent loop types update
259
dts: this._options.dts ?? false,
260
shareStrategy: this._options.shareStrategy ?? 'loaded-first',
@@ -269,3 +270,4 @@ export class NextFederationPlugin {
269
270
}
271
272
export default NextFederationPlugin;
273
+
0 commit comments