MIF_E31220277/denta-api/next.config.mjs

38 lines
823 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
eslint: {
// Warning: This allows production builds to successfully complete even if
// your project has ESLint errors.
ignoreDuringBuilds: true,
},
compiler: {
removeConsole: process.env.NODE_ENV === 'production',
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'loremflickr.com',
pathname: '**',
},
{
protocol: 'https',
hostname: 'cloudflare-ipfs.com',
pathname: '/ipfs/**',
},
{
protocol: 'https',
hostname: 'avatars.githubusercontent.com',
pathname: '**',
},
{
protocol: 'https',
hostname: 'randomuser.me',
pathname: '**',
},
],
},
};
export default nextConfig;