1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-09-17 05:25:54 +02:00

build: ignore ESLint errors for Production build

It improves performance when extra checking is not necessary.
This commit is contained in:
Théo LUDWIG 2023-09-14 12:26:19 +02:00
parent f04d8a0c11
commit c0508dc0b9
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,9 @@
const nextConfig = { const nextConfig = {
reactStrictMode: true, reactStrictMode: true,
output: 'standalone', output: 'standalone',
eslint: {
ignoreDuringBuilds: true
},
experimental: { experimental: {
serverActions: true serverActions: true
} }

View File

@ -3,6 +3,7 @@
"compilerOptions": { "compilerOptions": {
"target": "ESNext", "target": "ESNext",
"module": "ESNext", "module": "ESNext",
"moduleResolution": "Node",
"lib": ["dom", "dom.iterable", "ESNext"], "lib": ["dom", "dom.iterable", "ESNext"],
"allowJs": true, "allowJs": true,
"baseUrl": ".", "baseUrl": ".",
@ -11,7 +12,6 @@
}, },
"types": ["cypress"], "types": ["cypress"],
"noEmit": true, "noEmit": true,
"moduleResolution": "node",
"resolveJsonModule": true, "resolveJsonModule": true,
"jsx": "preserve", "jsx": "preserve",
"incremental": true, "incremental": true,