-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathnext.config.mjs
More file actions
73 lines (72 loc) · 1.76 KB
/
next.config.mjs
File metadata and controls
73 lines (72 loc) · 1.76 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
/** @type {import('next').NextConfig} */
const nextConfig = {
transpilePackages: ['minecraft-text'],
eslint: {
ignoreDuringBuilds: true
},
async redirects () {
return [
{
source: '/faq',
destination: '/docs/banmanager/faq',
permanent: true
},
{
source: '/developers',
destination: '/docs/banmanager/api',
permanent: true
},
{
source: '/setup',
destination: '/docs',
permanent: true
},
{
source: '/setup/migration/advancedban',
destination: '/docs/banmanager/migrations/advancedban',
permanent: true
},
{
source: '/setup/migration/vanilla',
destination: '/docs/banmanager/migrations/minecraft-java-edition',
permanent: true
},
{
source: '/setup/migration/h2',
destination: '/docs/banmanager/migrations/h2',
permanent: true
},
{
source: '/setup/minecraft-server',
destination: '/docs/banmanager/install',
permanent: true
},
{
source: '/setup/commands-permissions',
destination: '/docs/banmanager/commands',
permanent: true
},
{
source: '/setup/web-application',
destination: '/docs/webui/install',
permanent: true
},
{
source: '/setup/sync/all',
destination: '/docs/banmanager/install-network',
permanent: true
},
{
source: '/setup/sync/individual',
destination: '/docs/banmanager/install-network',
permanent: true
},
{
source: '/setup/sync/mixed',
destination: '/docs/banmanager/install-network',
permanent: true
}
]
}
}
export default nextConfig