-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.mjs
83 lines (80 loc) · 1.63 KB
/
next.config.mjs
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
import withMDX from "@next/mdx";
await import("./src/env.mjs");
/** @type {import("next").NextConfig} */
const config = {
reactStrictMode: true,
pageExtensions: ["js", "jsx", "mdx", "ts", "tsx"],
/**
* If you are using `appDir` then you must comment the below `i18n` config out.
*
* `i18n` config is causing issue with the interception routes. so, we need to comment it out.
*
* @see https://github.com/vercel/next.js/issues/41980
*/
// i18n: {
// locales: ["en"],
// defaultLocale: "en",
// },
images: {
remotePatterns: [
{
hostname: "ui-avatars.com",
},
{
hostname: "deeplor.s3.us-west-2.amazonaws.com",
},
{
hostname: "avatars.githubusercontent.com",
},
{
hostname: "i.redd.it",
},
{
hostname: "i.pinimg.com",
},
{
hostname: "pbs.twimg.com",
},
{
hostname: "yt3.ggpht.com",
},
{
hostname: "bookcoverzone.com",
},
{
hostname: "images.unsplash.com",
},
{
hostname: "images.pexels.com",
},
{
hostname: "www.kpop.ae",
},
{
hostname: "lh3.google.com",
},
{
hostname: "covers.bookcoverzone.com",
},
{
hostname: "cdn.i-scmp.com",
},
{
hostname: "pbs.twimg.com",
},
{
hostname: "lh3.googleusercontent.com",
},
{
hostname: "img.wattpad.com",
},
{
hostname: "kavesquare.com",
},
{
hostname: "utfs.io",
},
],
},
};
export default withMDX()(config);