-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathnext.config.js
37 lines (36 loc) · 1.35 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
module.exports = {
exportPathMap: () => ({
'/': { page: '/' },
'/agenda': { page: '/301' },
'/speakers': { page: '/301' },
'/about': { page: '/301' },
'/blue_chen': { page: '/s/blue_chen' },
'/ct_wu': { page: '/s/ct_wu' },
'/kevin_tu': { page: '/s/kevin_tu' },
'/david_khourshid': { page: '/s/david_khourshid' },
'/vibert_thio': { page: '/s/vibert_thio' },
'/johny_vino': { page: '/s/johny_vino' },
'/diane_shen': { page: '/s/diane_shen' },
'/nelson_kuo': { page: '/s/nelson_kuo' },
'/mengchih_chiang': { page: '/s/mengchih_chiang' },
'/chris_chen': { page: '/s/chris_chen' },
'/hsienhui_tang': { page: '/s/hsienhui_tang' },
'/heng_sung': { page: '/s/heng_sung' },
'/daisuke_sakai': { page: '/s/daisuke_sakai' },
'/justin_woo': { page: '/s/justin_woo' },
'/paul_irish': { page: '/s/paul_irish' },
'/liangbin_hsueh': { page: '/s/liangbin_hsueh' },
'/kirby_wu': { page: '/s/kirby_wu' },
'/chloe_jiang': { page: '/s/chloe_jiang' },
'/jeremy_lu': { page: '/s/jeremy_lu' },
'/eric_chou': { page: '/s/eric_chou' },
'/mark_wu': { page: '/s/mark_wu' },
'/ted_xu': { page: '/s/ted_xu' },
}),
webpack: (config) => {
// Fixes npm packages that depend on `fs` module
// eslint-disable-next-line no-param-reassign
config.node = { fs: 'empty' };
return config;
},
};