Replies: 2 comments
-
@ScriptedAlchemy Hey! Could you please take a look at this one? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Don't wraps in is server. The wrapped ones are client side only. Look at nextjs-ssr example or Readme or module-federation.io site for next docs and configuration details |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey! Thank you for useful plugin
I am new to module-federation and using it with Next.js.
@module-federation/nextjs-mf
specifically. And I can`t get my head around proper configuration of NextFederationPlugin in next.config.jsI bumped into two configuration examples:
The main question is that should I wrap the
new NextFederationPlugin
call into!isServer
condition?Does it make any difference if I wrap it or not?
And if does make any difference, It would be nice either to spotlight this in npm docs or to delete configuration example from npm docs to make it consistent
Beta Was this translation helpful? Give feedback.
All reactions