really_dizzy
NextJS turborepo
const { withPayload } = require('@payloadcms/next/withPayload')
/ @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
// images: {
// domains: [
// "res.cloudinary.com",
// "images.pexels.com",
// "placeimg.com",
// "placehold.co",
// "via.placeholder.com",
// "nursify.vercel.app",
// ],
// },
images: {
remotePatterns: [
{
protocol: "https",
hostname: "",
},
{
protocol: "http",
hostname: "**",
},
],
},
typescript: {
// !! WARN !!
// Dangerously allow production builds to successfully complete even if
// your project has type errors.
// !! WARN !!
ignoreBuildErrors: true,
},
};
module.exports = withPayload(nextConfig);
31 replies