44 lines
875 B
TypeScript
44 lines
875 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "export", // needed for static export
|
|
trailingSlash: true,
|
|
|
|
images: {
|
|
unoptimized: true, // ✅ keep this
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "images.unsplash.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "www.transparenttextures.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "png.pngtree.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "purepng.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "cdn-icons-png.flaticon.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "images.pexels.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "randomuser.me",
|
|
},
|
|
],
|
|
},
|
|
|
|
|
|
};
|
|
|
|
export default nextConfig; |