Closed ryok90 closed 6 months ago
@ryok90 Can you set public path to absolute path? Currently, manifest does not support relative paths
@ryok90 Can you set public path to absolute path? Currently, manifest does not support relative paths
Do you mean the filePath or the publicPath?
Because the problem here is that the publicPath is being overridden to 'auto' by NextFederationPlugin.
@ScriptedAlchemy It seems that this optimization is necessary
Closing this one but the server-side manifest still needs some work. @ScriptedAlchemy Should we open another issue to fix the server-side?
Describe the bug
The
mf-manifest.json
is not being generated for the client side (onstatic/chunks
) even when setting thepublicPath
.After investigating for a little bit I saw that
publicPath
is manually being set toauto
. Next.js putspublicPath
as/_next/
as default so I propose a change when it's set differently than that, to skip theauto
attribution.Reproduction
https://github.com/ryok90/nextjs-mf-examples/tree/main/shared-mui-next14.1.3-mf8.3.3/apps/remote
Used Package Manager
npm
System Info
Validations