Next.js SSR host with pure webpack remote #3067
Unanswered
ulrichgreen
asked this question in
Q&A
Replies: 2 comments 2 replies
-
I create example for using SSR rendering in the NextJs environment for standalone react remote module. Unfortunately it doesn't work in the last version on nextjs-mf plugin (you can track the issue). To make example work install the previous version:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
After upgrading to the last version example works fine. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there.
We're trying to make a Next.js host that pulls in our react component library (bundled with webpack). We get the error: "Automatic publicPath is not supported in this browser"
It works fine if we do ssr: false on dynamic imports in the host, but would have hoped to have them rendered on the server.
Also works fine if we setup our remote as a next.js app - but again, not what we hoped.
Using @module-federation/nextjs-mf in the host and ModuleFederationPlugin from webpack in the remote.
Will this even be possible? All the example I see is with next.js remotes
Beta Was this translation helpful? Give feedback.
All reactions