diff --git a/examples/bugs/gh-119/next.config.ts b/examples/bugs/gh-119/next.config.ts index e9ffa3083..202887ea4 100644 --- a/examples/bugs/gh-119/next.config.ts +++ b/examples/bugs/gh-119/next.config.ts @@ -1,7 +1,8 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { - /* config options here */ + typescript: { ignoreBuildErrors: true }, + eslint: { ignoreDuringBuilds: true }, }; export default nextConfig; diff --git a/examples/bugs/gh-219/next.config.ts b/examples/bugs/gh-219/next.config.ts index d65c117ce..202887ea4 100644 --- a/examples/bugs/gh-219/next.config.ts +++ b/examples/bugs/gh-219/next.config.ts @@ -1,11 +1,8 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { - eslint: { - // Warning: This allows production builds to successfully complete even if - // your project has ESLint errors. - ignoreDuringBuilds: true, - }, + typescript: { ignoreBuildErrors: true }, + eslint: { ignoreDuringBuilds: true }, }; export default nextConfig; diff --git a/examples/bugs/gh-223/next.config.mjs b/examples/bugs/gh-223/next.config.mjs index 8eda3ae9e..be9006e61 100644 --- a/examples/bugs/gh-223/next.config.mjs +++ b/examples/bugs/gh-223/next.config.mjs @@ -1,8 +1,7 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - typescript: { - ignoreBuildErrors: true, - }, + typescript: { ignoreBuildErrors: true }, + eslint: { ignoreDuringBuilds: true }, }; export default nextConfig; diff --git a/examples/create-next-app/next.config.mjs b/examples/create-next-app/next.config.mjs index 24073f0af..a7b7f88cb 100644 --- a/examples/create-next-app/next.config.mjs +++ b/examples/create-next-app/next.config.mjs @@ -3,6 +3,9 @@ import { initOpenNextCloudflareForDev } from "@opennextjs/cloudflare"; initOpenNextCloudflareForDev(); /** @type {import('next').NextConfig} */ -const nextConfig = {}; +const nextConfig = { + typescript: { ignoreBuildErrors: true }, + eslint: { ignoreDuringBuilds: true }, +}; export default nextConfig; diff --git a/examples/middleware/next.config.mjs b/examples/middleware/next.config.mjs index 24073f0af..a7b7f88cb 100644 --- a/examples/middleware/next.config.mjs +++ b/examples/middleware/next.config.mjs @@ -3,6 +3,9 @@ import { initOpenNextCloudflareForDev } from "@opennextjs/cloudflare"; initOpenNextCloudflareForDev(); /** @type {import('next').NextConfig} */ -const nextConfig = {}; +const nextConfig = { + typescript: { ignoreBuildErrors: true }, + eslint: { ignoreDuringBuilds: true }, +}; export default nextConfig; diff --git a/examples/next-partial-prerendering/next.config.js b/examples/next-partial-prerendering/next.config.js index 9249eb71a..861816b19 100755 --- a/examples/next-partial-prerendering/next.config.js +++ b/examples/next-partial-prerendering/next.config.js @@ -1,6 +1,7 @@ /** @type {import('next').NextConfig} */ const nextConfig = { typescript: { ignoreBuildErrors: true }, + eslint: { ignoreDuringBuilds: true }, experimental: { ppr: true, }, diff --git a/examples/playground14/next.config.mjs b/examples/playground14/next.config.mjs index 88ff5ae9c..133c3a0eb 100644 --- a/examples/playground14/next.config.mjs +++ b/examples/playground14/next.config.mjs @@ -4,6 +4,8 @@ initOpenNextCloudflareForDev(); /** @type {import('next').NextConfig} */ const nextConfig = { + typescript: { ignoreBuildErrors: true }, + eslint: { ignoreDuringBuilds: true }, experimental: { // Generate source map to validate the fix for opennextjs/opennextjs-cloudflare#341 serverSourceMaps: true, diff --git a/examples/playground15/next.config.mjs b/examples/playground15/next.config.mjs index cbecd7e66..e7563ba39 100644 --- a/examples/playground15/next.config.mjs +++ b/examples/playground15/next.config.mjs @@ -4,6 +4,8 @@ initOpenNextCloudflareForDev(); /** @type {import('next').NextConfig} */ const nextConfig = { + typescript: { ignoreBuildErrors: true }, + eslint: { ignoreDuringBuilds: true }, experimental: { // Generate source map to validate the fix for opennextjs/opennextjs-cloudflare#341 serverSourceMaps: true, diff --git a/examples/ssg-app/next.config.ts b/examples/ssg-app/next.config.ts index dce7856fa..4b075e442 100644 --- a/examples/ssg-app/next.config.ts +++ b/examples/ssg-app/next.config.ts @@ -4,7 +4,8 @@ import { initOpenNextCloudflareForDev } from "@opennextjs/cloudflare"; initOpenNextCloudflareForDev(); const nextConfig: NextConfig = { - /* config options here */ + typescript: { ignoreBuildErrors: true }, + eslint: { ignoreDuringBuilds: true }, }; export default nextConfig; diff --git a/examples/vercel-blog-starter/next.config.mjs b/examples/vercel-blog-starter/next.config.mjs index 4678774e6..be9006e61 100644 --- a/examples/vercel-blog-starter/next.config.mjs +++ b/examples/vercel-blog-starter/next.config.mjs @@ -1,4 +1,7 @@ /** @type {import('next').NextConfig} */ -const nextConfig = {}; +const nextConfig = { + typescript: { ignoreBuildErrors: true }, + eslint: { ignoreDuringBuilds: true }, +}; export default nextConfig; diff --git a/examples/vercel-commerce/next.config.js b/examples/vercel-commerce/next.config.js index 949add658..4dc300104 100644 --- a/examples/vercel-commerce/next.config.js +++ b/examples/vercel-commerce/next.config.js @@ -1,5 +1,7 @@ /** @type {import('next').NextConfig} */ module.exports = { + typescript: { ignoreBuildErrors: true }, + eslint: { ignoreDuringBuilds: true }, images: { formats: ['image/avif', 'image/webp'], remotePatterns: [