By default, certain Next.js internals are automatically shared to optimize your application. It's important to note that manually sharing these internals can lead to errors, as they are already handled for you.
next/dynamic
next/head
next/link
next/router
next/script
react
react/
react-dom
react-dom/
styled-jsx
styled-jsx/style
DEFAULT_SHARE_SCOPE
:You can automatically expose all pages via the plugin
This will make pages avaliable to import like:
import Page from 'remoteApp/pages/index'
import Page from 'remoteApp/pages/shop/product'
Public Path is set to "auto"
config.output.publicPath: "auto"
Webpack output target is set to async-node
from node
config.target = "async-node"