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)