Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

Latest commit

 

History

History
17 lines (11 loc) · 1.35 KB

MIGRATING.md

File metadata and controls

17 lines (11 loc) · 1.35 KB

Migrating to Essential Next.js Plugin

This guide is to assist next-on-netlify users in their migration to Netlify's Essential Next.js Build Plugin.

Please visit this issue to ask questions about migrating and/or the deprecation of next-on-netlify.

Existing NoN users

  1. Uninstall next-on-netlify.
  2. Remove the "postbuild": "next-on-netlify" script from your package.json.
  3. Get the Essential Next.js plugin.
    • For new Next.js sites on Netlify, the plugin will be automatically installed. You can opt out of the plugin by visiting the Plugins tab for your site in the Netlify UI.
    • For existing sites on Netlify, follow the manual installation instructions in the plugin README, which explains UI-based and file-based installation.

Brand New Users

Deploy a new Next.js site to Netlify! Your site will automatically build with the plugin. You can opt out of the plugin by visiting the Plugins tab for your site in the Netlify UI.