forked from suyalcinkaya/onur.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
96 lines (96 loc) · 2.55 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
93
94
95
96
module.exports = {
swcMinify: true,
reactStrictMode: true,
trailingSlash: false,
images: {
domains: ['images.ctfassets.net', 'assets.ctfassets.net'],
deviceSizes: [320, 375, 768, 1024, 1280]
},
async redirects() {
return [
{
source: '/turkiyeden-gitmek-berline-uzanan-bir-goc-hikayesi-bolum-1-nedenler',
destination: '/writing/bir-yazilimci-olarak-turkiyeden-gitmek',
permanent: true
},
{
source: '/writing/bir-yazilimci-olarak-turkiyeden-gitmek-bolum-1-nedenler',
destination: '/writing/bir-yazilimci-olarak-turkiyeden-gitmek',
permanent: true
},
{
source: '/what-i-have-learned-from-working-with-html5-video-over-a-month',
destination: '/writing/what-i-have-learned-from-working-with-html5-video-over-a-month',
permanent: true
},
{
source: '/useFetch-react-hook',
destination: '/writing/useFetch-react-hook',
permanent: true
},
{
source: '/understanding-react-memo',
destination: '/writing/understanding-react-memo',
permanent: true
},
{
source: '/blog/:slug',
destination: '/writing/:slug',
permanent: true
},
{
source: '/bookmarks/18259129',
destination: '/bookmarks/apps-and-tools',
permanent: true
},
{
source: '/bookmarks/15968768',
destination: '/bookmarks/design',
permanent: true
},
{
source: '/bookmarks/23598938',
destination: '/bookmarks/fonts',
permanent: true
},
{
source: '/bookmarks/16949672',
destination: '/bookmarks/frontend',
permanent: true
},
{
source: '/bookmarks/15807896',
destination: '/bookmarks/portfolio',
permanent: true
},
{
source: '/bookmarks/15807897',
destination: '/bookmarks/reading',
permanent: true
},
{
source: '/bookmarks/15896982',
destination: '/bookmarks/tweets',
permanent: true
},
{
source: '/bookmarks/15969648',
destination: '/bookmarks/vs-code',
permanent: true
},
{
source: '/bookmarks/25589709',
destination: '/bookmarks/wallpapers',
permanent: true
},
{
source: '/bookmarks/16338467',
destination: '/bookmarks/websites',
permanent: true
}
]
},
experimental: {
optimizePackageImports: ['framer-motion', '@supabase/supabase-js', 'react-tweet']
}
}