/
next.config.js
66 lines (66 loc) · 2.06 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
module.exports = {
swcMinify: true,
compiler: {
emotion: true,
},
async redirects() {
return [
{
source: '/articles/sourceCode/redux-make-combineReducers',
destination: '/articles/2022/redux-make-combineReducers',
permanent: true,
},
{
source:
'/articles/sourceCode/redux-make-createStore-enhancer-and-applyMiddleware',
destination:
'/articles/2021/redux-make-createStore-enhancer-and-applyMiddleware',
permanent: true,
},
{
source:
'/articles/sourceCode/redux-make-createStore-getState-dispatch-subscribe',
destination:
'/articles/2021/redux-make-createStore-getState-dispatch-subscribe',
permanent: true,
},
{
source: '/articles/javaScript/javascript-browser-event-loop',
destination: '/articles/2021/javascript-browser-event-loop',
permanent: true,
},
{
source: '/articles/javaScript/javascript-shallow-copy-deep-copy',
destination: '/articles/2021/javascript-shallow-copy-deep-copy',
permanent: true,
},
{
source:
'/articles/javaScript/javascript-pass-by-value-pass-by-reference-pass-by-sharing',
destination:
'/articles/2021/javascript-pass-by-value-pass-by-reference-pass-by-sharing',
permanent: true,
},
{
source: '/articles/react/react-depth-jsx',
destination: '/articles/2021/react-depth-jsx',
permanent: true,
},
{
source: '/articles/javaScript/javascript-parseInt-parseFloat-Number',
destination: '/articles/2020/javascript-parseInt-parseFloat-Number',
permanent: true,
},
{
source: '/articles/javaScript/javascript-var-let-const-for-loop',
destination: '/articles/2020/javascript-var-let-const-for-loop',
permanent: true,
},
{
source: '/articles/style/css-float-and-flex',
destination: '/articles/2019/css-float-and-flex',
permanent: true,
},
];
},
};