更新公司品牌信息从"福安德外贸"到"巨丰钢铁",包括: 1. 修改所有相关文档中的公司名称和描述 2. 更新网站配置和邮件模板 3. 移除不必要的分析工具和社交媒体链接 4. 优化i18n多语言配置 5. 调整next.config.mjs输出模式为standalone 6. 更新favicon和logo图片 7. 清理未使用的代码和文件
31 lines
622 B
JavaScript
31 lines
622 B
JavaScript
import createNextIntlPlugin from "next-intl/plugin";
|
|
|
|
const withNextIntl = createNextIntlPlugin();
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
// output: "export",
|
|
output: "standalone",
|
|
images: {
|
|
remotePatterns: [
|
|
...(process.env.R2_PUBLIC_URL
|
|
? [
|
|
{
|
|
hostname: process.env.R2_PUBLIC_URL.replace("https://", ""),
|
|
},
|
|
]
|
|
: []),
|
|
],
|
|
},
|
|
compiler: {
|
|
removeConsole:
|
|
process.env.NODE_ENV === "production"
|
|
? {
|
|
exclude: ["error"],
|
|
}
|
|
: false,
|
|
},
|
|
};
|
|
|
|
export default withNextIntl(nextConfig);
|