-
-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remoteEntry.js wrongly generated #2558
Comments
@ScriptedAlchemy Can you take a look at this |
Yes I'll investigate |
@Keitar6 your repo gives me a 404. https://github.com/Keitar6/reproMF-chunks/blob/main/host doesnt exist. Only 2 folders in the repo but clicking on them does not take me anywhere. |
Yes, you are right, i will fix it, sorry |
Should be okay right now |
@Keitar6 i am unable to reproduce the issue in the repo, please provide exact steps or add a npm script that starts everything in the order and what page to go to. seems to work with minimize enabled |
Getting this same error after switching to the this MF plugin from the webpack MF plugin [ Federation Runtime ]:
It's giving me a CORs issue... which I wasn't getting before...I've add a header entry to the webpack config but still the same?? Is the CORs a red herring? remoteEntry files load fine if I access them direct Any ideas @ScriptedAlchemy ? |
For some reason I had to add CORs headers to all webpack configs.. which seems odd as at runtime I'm only consuming from the host |
Which then leads to a bunch of other issues around types... mainly caused by the ouput value.... what worked for me Host : output: { Other mfes delete this value if you have it 'auto' doesn't work |
we added getPublicPath support now |
Stale issue message |
Describe the bug
When remote is built it's remoteEntry.js seem to have some issues. The solution for it is to turn minimize to false in webpack config.
To view whole log, just use npm install, build remote1 and start it in production and go to page:
http://localhost:3001/_next/static/ssr/remoteEntry.js
`
Reproduction
https://github.com/Keitar6/reproMF-chunks
Used Package Manager
npm
System Info
Validations
The text was updated successfully, but these errors were encountered: