Next.js Config Generator
Generate Next.js configuration files. Configure images, rewrites, redirects, headers, and more.
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'images.unsplash.com',
}
],
},
};
module.exports = nextConfig;About next.config.js
next.config.js allows you to customize various aspects of your Next.js application including image optimization, routing, and build output.
Some links on this page are affiliate links. If you click and make a purchase, we may earn a commission at no extra cost to you.
Recommended Products
AdAffiliate Disclosure: As an Amazon Associate, ToolBird earns from qualifying purchases. Links above are affiliate links — if you buy through them, we may earn a small commission at no extra cost to you.
Disclaimer: This tool is provided as-is for informational and educational purposes only.