-
Notifications
You must be signed in to change notification settings - Fork 2
/
next.config.mjs
63 lines (61 loc) · 1.92 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
/** @type {import('next').NextConfig} */
const nextConfig = {
pageExtensions: ["js", "jsx", "ts", "tsx"],
output: "export",
distDir: 'dist',
images: { unoptimized: true }, // comment out if using vercel or other service with backend support
async redirects() {
return redirects;
},
};
const redirects = [
{
source: "/learn/first-principles/modular-blockchains-and-first-principles",
destination: "/learn/beginners/modular-blockchains-and-first-principles",
permanent: true,
},
{
source:
"/learn/values-of-modular-blockchains/modular-blockchains-are-user-first",
destination: "/learn/beginners/modular-blockchains-are-user-first",
permanent: true,
},
{
source:
"/learn/basics-of-modular-blockchains/modular-and-monolithic-blockchains/",
destination: "/learn/intermediates/modular-and-monolithic-blockchains",
permanent: true,
},
{
source:
"/learn/basics-of-modular-blockchains/benefits-of-modular-blockchains/",
destination: "/learn/intermediates/benefits-of-modular-blockchains",
permanent: true,
},
{
source: "/learn/modular-architectures/the-modular-stack/",
destination: "/learn/intermediates/the-modular-stack",
permanent: true,
},
{
source: "/learn/modular-software/the-differences-of-modular-software/",
destination: "/learn/intermediates/the-differences-of-modular-software",
permanent: true,
},
{
source: "/learn/sovereign-rollups/an-introduction/",
destination: "/learn/intermediates/sovereign-rollups-an-introduction",
permanent: true,
},
{
source: "/learn/sovereign-rollups/misconceptions/",
destination: "/learn/intermediates/sovereign-rollups-misconceptions",
permanent: true,
},
{
source: "/learn/modular-settlement-layers/settlement-in-the-modular-stack/",
destination: "/learn/intermediates/settlement-in-the-modular-stack",
permanent: true,
},
];
export default nextConfig;