mirror of
https://github.com/iLay1678/i-tools.git
synced 2025-05-23 19:17:42 +08:00
14 lines
526 B
JavaScript
14 lines
526 B
JavaScript
import { setupDevPlatform } from '@cloudflare/next-on-pages/next-dev';
|
|
|
|
// Here we use the @cloudflare/next-on-pages next-dev module to allow us to use bindings during local development
|
|
// (when running the application with `next dev`), for more information see:
|
|
// https://github.com/cloudflare/next-on-pages/blob/main/internal-packages/next-dev/README.md
|
|
if (process.env.NODE_ENV === 'development') {
|
|
await setupDevPlatform();
|
|
}
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {};
|
|
|
|
export default nextConfig;
|