-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathnext.config.js
More file actions
26 lines (24 loc) · 750 Bytes
/
next.config.js
File metadata and controls
26 lines (24 loc) · 750 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
const withMDX = require("@next/mdx")({
extension: /\.mdx?$/,
});
const nextConfig = withMDX({
experimental: {
serverActions: {
bodySizeLimit: "8mb",
},
},
reactStrictMode: true,
images: {
remotePatterns: [
{ protocol: "http", hostname: "tailwindui.com" },
{ protocol: "https", hostname: "images.clerk.dev" },
{ protocol: "https", hostname: "img.clerk.com" },
{ protocol: "https", hostname: "images.unsplash.com" },
{ protocol: "https", hostname: "ik.imagekit.io" },
{ protocol: "https", hostname: "www.gravatar.com" },
{ protocol: "https", hostname: "res.cloudinary.com" },
],
},
pageExtensions: ["js", "jsx", "ts", "tsx", "md", "mdx"],
});
module.exports = nextConfig;