Remove ESLint configuration from Next.js and adjust GitHub Actions to disable fast CI builds. This streamlines the build process for Docker deployments.
This commit is contained in:
1 parent
19b75671a0
commit
9b48611a61
2 files changed
-5
No files matched your search
@@ -31,7 +31,6 @@ jobs:
|
||||
- name: Install & build
|
||||
env:
|
||||
DISABLE_REACT_COMPILER: "1"
|
||||
CI_FAST_BUILD: "1"
|
||||
NEXT_TELEMETRY_DISABLED: "1"
|
||||
run: |
|
||||
set -euo pipefail
|
||||
|
||||
@@ -7,10 +7,6 @@ const nextConfig: NextConfig = {
|
||||
output: "standalone",
|
||||
// Babel React Compiler is heavy in Docker/CI; keep it for local `next dev`.
|
||||
reactCompiler: process.env.DISABLE_REACT_COMPILER !== "1",
|
||||
// Skip lint during CI image builds (lint can still run in a separate job later).
|
||||
eslint: {
|
||||
ignoreDuringBuilds: process.env.CI_FAST_BUILD === "1",
|
||||
},
|
||||
experimental: {
|
||||
optimizePackageImports: ["lucide-react"],
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user