mirror of
https://github.com/LiuYuYang01/ThriveX-Blog.git
synced 2026-05-07 06:07:34 +08:00
36 lines
921 B
JavaScript
Executable File
36 lines
921 B
JavaScript
Executable File
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
// 关闭严格模式
|
|
reactStrictMode: false,
|
|
// 配置图片来源
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'liuyuyang.net',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'res.liuyuyang.net',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'q1.qlogo.cn',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'bu.dusays.com',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'images.unsplash.com',
|
|
}
|
|
],
|
|
},
|
|
eslint: {
|
|
// 即使有 ESLint 错误,构建也会继续,不会因为 ESLint 报错而中断
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
};
|
|
|
|
export default nextConfig; |