From c0508dc0b9f6b06fb2419d1d119c405250b3f8ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= Date: Thu, 14 Sep 2023 12:26:19 +0200 Subject: [PATCH] build: ignore ESLint errors for Production build It improves performance when extra checking is not necessary. --- next.config.js | 3 +++ tsconfig.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index da9e976..5382ef5 100644 --- a/next.config.js +++ b/next.config.js @@ -2,6 +2,9 @@ const nextConfig = { reactStrictMode: true, output: 'standalone', + eslint: { + ignoreDuringBuilds: true + }, experimental: { serverActions: true } diff --git a/tsconfig.json b/tsconfig.json index cbf7dc3..d389821 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,7 @@ "compilerOptions": { "target": "ESNext", "module": "ESNext", + "moduleResolution": "Node", "lib": ["dom", "dom.iterable", "ESNext"], "allowJs": true, "baseUrl": ".", @@ -11,7 +12,6 @@ }, "types": ["cypress"], "noEmit": true, - "moduleResolution": "node", "resolveJsonModule": true, "jsx": "preserve", "incremental": true,