/** @type {import('next').NextConfig} */ // 纯静态导出:output:'export' 产出 out/,无任何 Node 服务端能力,可任意静态托管。 // 数据全走客户端 API(lib/api),与官网共享「被打击时客户端内同功能仍可用」的灾备模型。 const nextConfig = { output: 'export', reactStrictMode: true, trailingSlash: true, // 静态导出无图片优化服务,关闭以保证产物无服务端依赖。 images: { unoptimized: true }, }; export default nextConfig;