Skip to content

opennextjs/opennextjs-netlify

Repository files navigation

Essential Next.js (Experimental)

Experimental plugin for Next.js applications on Netlify

⚠️ This plugin is an alpha for testing purposes only. It is not yet stable and should not be used for production sites.

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 to netlify.toml:
[build]
publish = ".next"

[[plugins]]
package = "@netlify/plugin-nextjs-experimental"