2025-06-22 10:02:50 +02:00
|
|
|
import type { NextConfig } from "next";
|
2025-07-16 01:00:40 +01:00
|
|
|
import { withBotId } from "botid/next/config";
|
2026-02-28 23:58:54 +01:00
|
|
|
import { withContentCollections } from "@content-collections/next";
|
2026-03-26 13:54:36 +01:00
|
|
|
import { initOpenNextCloudflareForDev } from "@opennextjs/cloudflare";
|
|
|
|
|
|
|
|
|
|
initOpenNextCloudflareForDev();
|
2025-06-22 10:02:50 +02:00
|
|
|
|
|
|
|
|
const nextConfig: NextConfig = {
|
2026-02-28 18:41:22 +01:00
|
|
|
turbopack: {
|
|
|
|
|
rules: {
|
|
|
|
|
"*.glsl": {
|
|
|
|
|
loaders: [require.resolve("raw-loader")],
|
|
|
|
|
as: "*.js",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
2026-02-23 03:24:02 +01:00
|
|
|
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",
|
|
|
|
|
},
|
2026-03-25 16:47:22 +01:00
|
|
|
{
|
|
|
|
|
protocol: "https",
|
|
|
|
|
hostname: "cdn.brandfetch.io",
|
|
|
|
|
},
|
2026-02-23 03:24:02 +01:00
|
|
|
],
|
|
|
|
|
},
|
2025-06-22 10:02:50 +02:00
|
|
|
};
|
|
|
|
|
|
2026-02-28 23:58:54 +01:00
|
|
|
export default withContentCollections(withBotId(nextConfig));
|