JSPM

@netlify/plugin-nextjs

4.0.0-beta.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 248340
  • Score
    100M100P100Q172150F
  • License MIT

Run Next.js seamlessly on Netlify

Package Exports

  • @netlify/plugin-nextjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@netlify/plugin-nextjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Next.js on Netlify Build Plugin

Essential Next.js Build Plugin (beta)

⚠️ This is the beta version of the Essential Next.js plugin. For the stable version, see Essential Next.js plugin v3 ⚠️

Installing the beta

  • Install the module:
npm install -D @netlify/plugin-nextjs@beta
  • Change the publish directory to .next and add the plugin to netlify.toml if not already installed:
[build]
publish = ".next"

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

If you previously set target: "serverless" in your next.config.js this is no longer needed and can be removed.

Beta feedback

Please share any thoughts, feedback or questions about the beta in our discussion.