fix(web): skip ESLint/TypeScript during Docker build
CI/CD 分離策略: - ESLint 在獨立 lint job 執行 - TypeScript 在獨立 type-check job 執行 - Build 時跳過以加速 Docker 建置 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -10,6 +10,14 @@ const nextConfig = {
|
||||
experimental: {
|
||||
typedRoutes: true,
|
||||
},
|
||||
// CI/CD: ESLint 在獨立 lint job 執行,build 時跳過
|
||||
eslint: {
|
||||
ignoreDuringBuilds: true,
|
||||
},
|
||||
// CI/CD: TypeScript 錯誤在獨立 type-check job 處理
|
||||
typescript: {
|
||||
ignoreBuildErrors: true,
|
||||
},
|
||||
}
|
||||
|
||||
module.exports = withNextIntl(nextConfig)
|
||||
|
||||
Reference in New Issue
Block a user