50 lines
1.0 KiB
TypeScript
50 lines
1.0 KiB
TypeScript
import type { NextConfig } from "next";
|
|
import { withBotId } from "botid/next/config";
|
|
|
|
const nextConfig: NextConfig = {
|
|
compiler: {
|
|
removeConsole: process.env.NODE_ENV === "production",
|
|
},
|
|
reactStrictMode: true,
|
|
productionBrowserSourceMaps: true,
|
|
output: "standalone",
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "plus.unsplash.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "images.unsplash.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "images.marblecms.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "lh3.googleusercontent.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "avatars.githubusercontent.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "api.iconify.design",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "api.simplesvg.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "api.unisvg.com",
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default withBotId(nextConfig);
|