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/dynamicnext/headnext/linknext/routernext/scriptreactreact/react-domreact-dom/styled-jsxstyled-jsx/styleDEFAULT_SHARE_SCOPE:You can automatically expose all pages via the plugin
This will make pages available 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"