crush-level-web/next.config.ts

36 lines
693 B
TypeScript
Raw Normal View History

2025-12-18 10:59:55 +00:00
import type { NextConfig } from 'next';
2025-11-13 08:38:25 +00:00
const nextConfig: NextConfig = {
/* config options here */
images: {
remotePatterns: [
{
2025-11-28 06:31:36 +00:00
protocol: 'https',
hostname: 'picsum.photos',
2025-11-13 08:38:25 +00:00
},
{
2025-11-28 06:31:36 +00:00
protocol: 'https',
hostname: 'public-pictures.epal.gg',
2025-11-13 08:38:25 +00:00
},
{
2025-11-28 06:31:36 +00:00
protocol: 'https',
hostname: 'hhb.crushlevel.ai',
2025-11-13 08:38:25 +00:00
},
{
2025-11-28 06:31:36 +00:00
protocol: 'https',
hostname: 'sub.crushlevel.ai',
2025-11-13 08:38:25 +00:00
},
{
2025-11-28 06:31:36 +00:00
protocol: 'https',
hostname: 'img.crushlevel.ai',
},
2025-11-13 08:38:25 +00:00
],
},
2025-12-18 10:59:55 +00:00
typescript: {
// 构建时忽略所有 TypeScript 错误
ignoreBuildErrors: true,
},
};
2025-11-13 08:38:25 +00:00
2025-12-18 10:59:55 +00:00
export default nextConfig;