JSPM

setup-opennext-cf

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q65839F
  • License MIT

NPX script to setup OpenNext.js for Cloudflare

Package Exports

  • setup-opennext-cf
  • setup-opennext-cf/setup-opennext-cf.js

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 (setup-opennext-cf) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

setup-opennext-cf

Instantly prepare your Next.js project for deployment on Cloudflare using OpenNext.

🚀 Quick Start

Run the following command inside your Next.js project:

npx setup-opennext-cf

In a few seconds, your project will be automatically configured and ready for deployment on Cloudflare using:

🔗 https://opennext.js.org/cloudflare

📦 What This Does

  • Sets up the required OpenNext structure
  • Configures Cloudflare deployment files
  • Optimizes your Next.js project for Cloudflare Workers / Pages
  • Zero manual setup needed

📝 Requirements

  • Node.js 18+
  • Next.js project (any version supported by OpenNext)

💡 Notes

  • Run the command inside the root of your Next.js project.
  • You can re-run it anytime; it safely updates config without breaking custom settings.