-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnext.config.js
More file actions
105 lines (104 loc) · 2.83 KB
/
next.config.js
File metadata and controls
105 lines (104 loc) · 2.83 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
module.exports = {
images: {
remotePatterns: [
{
hostname: "res.cloudinary.com",
},
],
},
reactStrictMode: false,
transpilePackages: [],
async redirects() {
return [
{
destination: "/blog/font-distribution-problems",
permanent: true,
source: "/blog/inter-problems",
},
{
source:
"/blog/puck-open-source-visual-react-editor-modern-content-workflows",
destination: "https://puckeditor.com/blog/introducing-puck",
permanent: true,
},
{
source: "/blog/building-a-react-page-builder-an-introduction-to-puck",
destination:
"https://puckeditor.com/blog/building-a-react-page-builder-an-introduction-to-puck",
permanent: true,
},
{
source: "/blog/puck-013",
destination: "https://puckeditor.com/blog/puck-013",
permanent: true,
},
{
source: "/blog/puck-v014",
destination: "https://puckeditor.com/blog/puck-014",
permanent: true,
},
{
source: "/blog/puck-v015",
destination: "https://puckeditor.com/blog/puck-015",
permanent: true,
},
{
source: "/blog/puck-v016",
destination: "https://puckeditor.com/blog/puck-016",
permanent: true,
},
{
source: "/blog/puck-v017",
destination: "https://puckeditor.com/blog/puck-017",
permanent: true,
},
{
source: "/blog/using-css-variables-to-create-dynamic-themes-in-puck",
destination:
"https://puckeditor.com/blog/using-css-variables-to-create-dynamic-themes-in-puck",
permanent: true,
},
{
source: "/blog/managing-application-state-in-puck",
destination:
"https://puckeditor.com/blog/managing-application-state-in-puck",
permanent: true,
},
{
source: "/blog/puck-v018",
destination: "https://puckeditor.com/blog/puck-018",
permanent: true,
},
{
source:
"/blog/revolutionizing-drag-and-drop-in-react-introducing-puck-018",
destination:
"https://puckeditor.com/blog/revolutionizing-drag-and-drop-in-react-introducing-puck-018",
permanent: true,
},
{
source:
"/blog/advanced-layouts-with-puck-harnessing-grid-and-flex-containers",
destination:
"https://puckeditor.com/blog/advanced-layouts-with-puck-harnessing-grid-and-flex-containers",
permanent: true,
},
];
},
async rewrites() {
return [
{
destination: "/api/feed/atom",
source: "/feed.atom",
},
{
destination: "/api/feed/json",
source: "/feed.json",
},
{
destination: "/api/feed/rss",
source: "/feed.xml",
},
];
},
};