-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.mjs
More file actions
35 lines (33 loc) · 792 Bytes
/
next.config.mjs
File metadata and controls
35 lines (33 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/** @type {import('next').NextConfig} */
const nextConfig = {
// use only for quick build testing before optimizing eslint & type fixes
eslint: {
ignoreDuringBuilds: true,
dirs: ["src"],
},
typescript: {
ignoreBuildErrors: true,
},
images: {
loader: "custom",
loaderFile: "./image-loader.ts",
remotePatterns: [
{
hostname: "ipfs.io",
protocol: "https",
},
{
hostname: "basedchess.xyz",
protocol: "https",
},
{
hostname: "based-chess-worker-nextjs-prod.johnsgresham.workers.dev",
protocol: "https",
},
],
},
};
export default nextConfig;
// added by create cloudflare to enable calling `getCloudflareContext()` in `next dev`
import { initOpenNextCloudflareForDev } from "@opennextjs/cloudflare";
initOpenNextCloudflareForDev();