Essential Next.js (Experimental)
Experimental plugin for Next.js applications on Netlify
Installing the alpha
- Remove the existing Essential Next.js plugin (
@netlify/plugin-nextjs
). See the instructions to uninstall the plugin - Install the module:
npm install -D @netlify/plugin-nextjs-experimental
- Change the
publish
directory to.next
and add the plugin tonetlify.toml
:
[build]
publish = ".next"
[[plugins]]
package = "@netlify/plugin-nextjs-experimental"