Files
OpenCut/apps/web/next.config.ts
T

59 lines
1.1 KiB
TypeScript
Raw Normal View History

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";
2025-06-22 10:02:50 +02:00
const nextConfig: NextConfig = {
turbopack: {
rules: {
"*.glsl": {
loaders: [require.resolve("raw-loader")],
as: "*.js",
},
},
},
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",
},
],
},
2025-06-22 10:02:50 +02:00
};
2026-02-28 23:58:54 +01:00
export default withContentCollections(withBotId(nextConfig));