File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
packages/nextjs-mf/src/plugins/NextFederationPlugin Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -251,9 +251,10 @@ export class NextFederationPlugin {
251251 ...defaultShared ,
252252 ...this . _options . shared ,
253253 } ,
254- ...( isServer
255- ? { manifest : { filePath : '' } }
256- : { manifest : { filePath : '/static/chunks' } } ) ,
254+ manifest : {
255+ ...( this . _options . manifest ?? { } ) ,
256+ filePath : isServer ? '' : '/static/chunks' ,
257+ } ,
257258 // nextjs project needs to add config.watchOptions = ['**/node_modules/**', '**/@mf -types/**'] to prevent loop types update
258259 dts : this . _options . dts ?? false ,
259260 shareStrategy : this . _options . shareStrategy ?? 'loaded-first' ,
@@ -269,3 +270,4 @@ export class NextFederationPlugin {
269270}
270271
271272export default NextFederationPlugin ;
273+
You can’t perform that action at this time.
0 commit comments