next.config.js (15 lines of code) (raw):
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
domains: ["localhost"],
remotePatterns: [
{
protocol: "https",
hostname: "cdn.sanity.io",
port: "",
},
],
},
output: 'export',
images: { unoptimized: true }
};
module.exports = nextConfig;