mywork / src /next.config.ts
DeeCeeXxx's picture
Upload 114 files
e9d5b7d verified
import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
typescript: {
ignoreBuildErrors: true,
},
eslint: {
ignoreDuringBuilds: true,
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'placehold.co',
port: '',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'firestuff.storage.googleapis.com',
port: '',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'files.catbox.moe',
port: '',
pathname: '/**',
},
],
},
webpack: (config) => {
config.resolve.fallback = {
...config.resolve.fallback,
fs: false,
module: false,
};
return config;
},
};
export default nextConfig;