forked from InvolutionHell/involutionhell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.mjs
More file actions
45 lines (41 loc) · 951 Bytes
/
next.config.mjs
File metadata and controls
45 lines (41 loc) · 951 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
36
37
38
39
40
41
42
43
44
45
// next.config.mjs
import { createMDX } from "fumadocs-mdx/next";
import createNextIntlPlugin from "next-intl/plugin";
const withMDX = createMDX({
configPath: "source.config.ts",
});
const withNextIntl = createNextIntlPlugin("./i18n.ts");
/** @type {import('next').NextConfig} */
const config = {
reactStrictMode: true,
images: {
remotePatterns: [
{
protocol: "https",
hostname: "*.githubusercontent.com",
pathname: "/**",
},
{
protocol: "https",
hostname: "*.github.io",
pathname: "/**",
},
{
protocol: "https",
hostname: "*.r2.dev",
pathname: "/**",
},
{
protocol: "https",
hostname: "cdn.nlark.com",
pathname: "/**",
},
{
protocol: "https",
hostname: "*.amazonaws.com",
pathname: "/**",
},
],
},
};
export default withNextIntl(withMDX(config));