@cloudflare/next-on-pages
Version:
`@cloudflare/next-on-pages` is a CLI tool that you can use to build and develop [Next.js](https://nextjs.org/) applications so that they can run on the [Cloudflare Pages](https://pages.cloudflare.com/) platform (and integrate with Cloudflare's various oth
12 lines (11 loc) • 490 B
TypeScript
import { type GetPlatformProxyOptions } from 'wrangler';
export * from './deprecated';
/**
* Sets up the Cloudflare platform that need to be available during development time (using
* Next.js' standard dev server)
*
* Note: the function is an async one but it doesn't need to be awaited
*
* @param options options how the function should operate and if/where to persist the platform data
*/
export declare function setupDevPlatform(options?: GetPlatformProxyOptions): Promise<void>;