build: ignore ESLint errors for Production build

It improves performance when extra checking is not necessary.
This commit is contained in:
theoludwig committed 2023-09-14 12:26:19 +02:00
1 parent f04d8a0c11
commit c0508dc0b9
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -2,6 +2,9 @@
const nextConfig = {
reactStrictMode: true,
output: 'standalone',
eslint: {
ignoreDuringBuilds: true
},
experimental: {
serverActions: true
}
+1 -1
View File
@@ -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,