Presets
Shared
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/style
Click to Expand DEFAULT_SHARE_SCOPE:
Expose Pages
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'
Build Options
Public Path
Public Path is set to "auto"
config.output.publicPath: "auto"
Target
Webpack output target is set to async-node from node
config.target = "async-node"