-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
92 lines (90 loc) · 2.13 KB
/
next.config.js
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
/** @type {import('next').NextConfig} */
module.exports = {
reactStrictMode: true,
transpilePackages: ["lucide-react"],
eslint: {
// Warning: This allows production builds to successfully complete even if
// your project has ESLint errors.
ignoreDuringBuilds: true,
},
compiler: {
styledComponents: true,
},
swcMinify: true,
// webpack5: true,
webpack: config => {
config.resolve.fallback = { fs: false, path: false };
return config;
},
async redirects() {
return [
{
source: "/rss",
destination: "https://feeds.transistor.fm/pod-dev",
permanent: true,
},
{
source: "/spotify",
destination:
"https://open.spotify.com/show/5meBzwbt0vJvTBmv6RroMr?si=4SW7C3wNS_eWYz7YCFfdcw",
permanent: true,
},
{
permanent: true,
source: "/apple",
destination:
"https://podcasts.apple.com/us/podcast/pod-dev-startup-businesses-on-blockchain/id1751165138",
permanent: true,
},
{
source: "/pcast",
destination: "https://pca.st/stfxl3j2",
permanent: true,
},
{
source: "/pocketcasts",
destination: "https://pca.st/stfxl3j2",
permanent: true,
},
{
source: "/youtube",
destination:
"https://www.youtube.com/playlist?list=PLk-EmIiBIYGF6sYMY9uhlC4OnxgKQbB9N",
permanent: true,
},
{
source: "/nick",
destination: "https://x.com/nickfrosty",
permanent: true,
},
{
source: "/nickfrosty",
destination: "https://x.com/nickfrosty",
permanent: true,
},
{
source: "/scott",
destination: "https://x.com/cloakdDev",
permanent: true,
},
{
source: "/cloakd",
destination: "https://x.com/cloakdDev",
permanent: true,
},
{
source: "/cloaked",
destination: "https://x.com/cloakdDev",
permanent: true,
},
];
},
images: {
remotePatterns: [
{
protocol: "https",
hostname: "**",
},
],
},
};