Files
awoooi/apps/web/next.config.js
OG T cc9c9366e7 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>
2026-03-22 19:06:29 +08:00

24 lines
597 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
const createNextIntlPlugin = require('next-intl/plugin')
const withNextIntl = createNextIntlPlugin('./src/i18n/request.ts')
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
transpilePackages: ['@awoooi/lewooogo-core'],
output: 'standalone',
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)