11 lines
282 B
TypeScript
11 lines
282 B
TypeScript
import type { NextConfig } from "next";
|
|
import { setupDevPlatform } from '@cloudflare/next-on-pages/next-dev';
|
|
|
|
const nextConfig: NextConfig = {
|
|
/* config options here */
|
|
};
|
|
if (process.env.NODE_ENV === 'development') {
|
|
await setupDevPlatform();
|
|
}
|
|
|
|
export default nextConfig;
|