diff --git a/next.config.js b/next.config.js index b365c12..a099545 100644 --- a/next.config.js +++ b/next.config.js @@ -1,10 +1 @@ - import { setupDevPlatform } from '@cloudflare/next-on-pages/next-dev'; - -/** @type {import('next').NextConfig} */ -const nextConfig = {}; - - if (process.env.NODE_ENV === 'development') { - await setupDevPlatform(); - } - -export default nextConfig; \ No newline at end of file +module.exports = {}; \ No newline at end of file diff --git a/package.json b/package.json index 8a45ae9..b1d07d4 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,6 @@ "url": "https://danielegiachetto.com", "email": "contact@danielegiachetto.com" }, - "type": "module", "pages:build": "npx @cloudflare/next-on-pages", "preview": "npm run pages:build && wrangler pages dev", "deploy": "npm run pages:build && wrangler pages deploy",