/** @type {import('next').NextConfig} */
const nextConfig = {
  typescript: {
    ignoreBuildErrors: true, // TODO: 暂时完全禁用TypeScript类型检查
  },
  eslint: {
    ignoreDuringBuilds: true, // TODO: 暂时禁用eslint校验错误
  },
  transpilePackages: ['lucide-react'],
  output: 'standalone',
  // 修复CSS构建问题
  experimental: {
    // forceSwcTransforms: true,
    turbo: {
      rules: {
        '*.svg': {
          loaders: ['@svgr/webpack'],
          as: '*.js',
        },
      },
    },
  },
};

export default nextConfig;